Help Center API Reference
Sync an API reference spec from CI
Pushes a new OpenAPI 3 spec for one API reference version. Call it from your CI after the spec changes.
Body
- The OpenAPI document itself (
Content-Type: application/json, for examplecurl --data @openapi.json), or - YAML text (
Content-Type: application/yaml), or { "url": "https://…/openapi.json" }: Featurebase fetches the URL once (https only).
The spec can be up to 50 MB. Swagger 2.0 is rejected: convert it to OpenAPI 3 first.
Result
The request returns 202 with a syncId. The spec is processed in the background and becomes a draft that an admin reviews and publishes.
When "Auto-publish CI pushes" is on for the version, the draft is published at once, unless more than 20% of the endpoints were removed or the servers or security schemes changed. The first import is always a draft.
Limits
60 syncs per hour per version and 120 per hour per API key. Every call is in the audit log (API key, time, source, result).
Authentication
Use an organization API key from the dashboard. OAuth tokens cannot call this endpoint.