Every request to the Help.Center API is authenticated with an API key. This article shows you how to create a key, choose the right scopes, and make your first authenticated call.
Create an API key
- Open your Help.Center dashboard.
- Go to Settings > General > API.
- Create a new API key and select the scopes it needs.
Your Center ID is shown on the same page. You need both values for every request.
Please Note
Your API key is shown only once, when it is created. Store it securely — treat it like a password. If a key is lost or exposed, delete it and create a new one.
API key scopes
Each key carries a set of scopes that control what it can do. Requests to an endpoint the key is not scoped for return 403 insufficient_scope.
| Scope | What it allows |
|---|---|
content.read | Read articles, drafts, categories, knowledge items, and center info |
content.write | Create and update articles, drafts, categories, and knowledge items; upload images |
content.publish | Publish and unpublish articles and translations |
content.delete | Delete articles, categories, translations, and knowledge items |
conversation.read | List and read conversations, messages, discussion, reply drafts, actions, and center users |
conversation.write | Update conversation status and assignee, edit reply drafts, post discussion entries, and update actions |
conversation.reply | Send email replies to customers |
Security Tip
Create multiple API keys with minimal scopes for different purposes. In particular, only grant
conversation.replyto integrations that genuinely need to email customers — it is kept separate fromconversation.writeso that internal tooling can manage the inbox without being able to send anything.
Make your first request
Pass the key in the Authorization header of every request:
Authorization: Bearer YOUR_API_KEY
A convenient pattern is to export both values once in your shell:
export HC_API_KEY="your_api_key"
export HC_CENTER_ID="your_center_id"
Then fetch your center's info to confirm everything works:
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID"
A successful response looks like this:
{
"id": "your_center_id",
"object": "center",
"name": "My Help Center",
"domain": "mycompany.help.center",
"default_language": "en",
"additional_languages": ["de", "fr"],
"created_at": "2024-01-01T00:00:00.000Z"
}
Authentication errors
| HTTP status | Code | Meaning |
|---|---|---|
| 401 | invalid_api_key | The API key is missing, malformed, or has been deleted. |
| 403 | insufficient_scope | The key is valid but lacks the scope this endpoint requires. |
| 403 | center_blocked | The center is blocked and cannot be accessed via the API. |