Skip to main content
Help Center API Reference

Create an API reference version

Creates an empty API reference version in a help center. Then import a spec into it (POST /v2/help_center/api_specs/{specId}/import), review the draft and publish it.

POST
/v2/help_center/api_specs

The first version of a help center becomes the default. versionSlug must be unique in the help center (lower-case letters, digits and dashes).

Plan limits: the API reference needs the Growth plan or higher; more than 2 active versions need the Professional plan or higher.

Authorizationstringheaderrequired

API key as Bearer token. Use: Authorization: Bearer sk_...

Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Available options: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-08-19.orbit

Body

application/json
helpCenterIdstring

The help center. Defaults to the active help center of your organization.

Required string length: 1 - 16
Pattern: ^[a-zA-Z0-9]+$
Example: ox6qrqprmsuqaunj
namestringrequired

Name of the API reference.

Required string length: 1 - 128
Example: Acme API
sourceTypeenum<string>

api (pushed from CI with the sync endpoint) or upload (default). The first spec comes from the import or sync endpoint.

Available options: upload, api
Example: api
versionLabelstringrequired

Label of this version in the version picker.

Required string length: 1 - 64
Example: v2
versionSlugstringrequired

URL slug of this version (lower case). It cannot change after the first publish.

Required string length: 1 - 32
Example: v2

Response

application/json

Created

apiSlugstringrequired

The API this version belongs to.

Example: default
createdAtstring | nullrequired

When the version was created.

Example: 2026-10-01T12:00:00.000Z
draftRevisionnumber | nullrequired

The revision that waits for review. Null = no draft.

Example: 8
hasDraftbooleanrequired

A draft waits for review (see the draft endpoint).

Example: true
helpCenterIdstringrequired

The help center.

Example: ox6qrqprmsuqaunj
idstringrequired

The API reference version id (specId).

Example: 66f7d0c1a2b3c4d5e6f70812
isDefaultbooleanrequired

The default version (no version prefix in URLs).

Example: true
lastSyncobject | nullrequired

The newest CI push or API import of this version.

liveOperationCountnumber | nullrequired

Endpoints in the live revision (list only; null otherwise).

Example: 42
liveRevisionnumber | nullrequired

The published revision. Null = never published.

Example: 7
namestringrequired

Name of the API reference.

Example: Acme API
objectenum<string>required

Object type identifier

Available options: help_center_api_spec
Example: help_center_api_spec
sourceobjectrequired

Where the spec comes from.

statusenum<string>required

Version status.

Available options: active, deprecated, archived
Example: active
updatedAtstring | nullrequired

When the version was last changed.

Example: 2026-10-01T12:00:00.000Z
versionLabelstringrequired

Label in the version picker.

Example: v2
versionSlugstringrequired

URL slug of the version.

Example: v2
visibleBystring[]required

Who can see this version.