Skip to main content

Base URL

Authentication

All endpoints require a Bearer token. The API accepts three token types:
See the Authentication guide for how to create and manage keys.

Request format

  • All request bodies must be JSON with Content-Type: application/json
  • All timestamps are RFC 3339 (e.g. 2026-02-15T14:30:00Z)
  • Paginated endpoints accept limit (1-100, default varies by endpoint, 20 or 25), cursor, and filtering parameters. The previous response’s next_cursor field is what you pass back as cursor.

Response format

All successful responses are JSON. All errors use:
See Errors for the full code catalog. Notable status codes:

Endpoint groups

Keeping the spec up to date

The API reference is generated from Go source annotations. To regenerate after changing the code:
This runs swag init (generates Swagger 2.0) then swagger2openapi (converts to OpenAPI 3.0) and writes the result to docs/api-reference/openapi.json.

Inbox

Comments, DMs, and reviews across platforms.

Publishing

Create, schedule, and manage posts.

Webhooks

Get notified of events in real time.

Error Handling

All error codes and how to handle them.