Documentation Index
Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Authentication
All endpoints require a Bearer token. The API accepts three token types:| Token type | Format | Use case |
|---|---|---|
| API key | sapi_key_... | External API clients |
| Auth service JWT | EdDSA signed JWT | Dashboard frontend |
| OAuth 2.1 access token | EdDSA signed JWT | MCP / AI assistant clients |
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 25),cursor, and filtering parameters
Response format
All successful responses are JSON. All errors use:| HTTP status | Meaning |
|---|---|
400 | Invalid request parameters |
401 | Invalid or missing API key |
403 | Feature not available on your plan |
404 | Account or resource not found |
409 | Account already linked |
413 | Storage quota exceeded |
429 | Monthly resource limit exceeded |
501 | Platform does not support this operation |
Endpoint groups
| Group | Endpoints | Description |
|---|---|---|
| Accounts | GET /accounts, POST /accounts/connect, POST /oauth/exchange, DELETE /accounts/:id | Connect, list, and disconnect social accounts |
| Inbox - Comments | GET /inbox/comments, GET /inbox/comments/:postId, POST /inbox/comments/:postId, DELETE /inbox/comments/:postId/:commentId, POST .../hide, DELETE .../hide, POST .../like, DELETE .../like, POST .../private-reply | List commented posts, read and reply to comments, moderate (hide, like, delete, private reply) |
| Inbox - Conversations | GET /inbox/conversations, GET /inbox/conversations/:id, PATCH /inbox/conversations/:id, GET .../messages, POST .../messages, POST .../read | List conversations, read and send DMs, mark as read |
| Inbox - Reviews | GET /inbox/reviews, POST /inbox/reviews/:id/reply, PUT /inbox/reviews/:id/reply, DELETE /inbox/reviews/:id/reply | Read reviews, reply, update, and delete replies |
| Mentions | GET /accounts/:id/mentions | Read mentions |
| Publishing | POST /posts, GET /posts, GET /posts/:pid, PATCH /posts/:pid, DELETE /posts/:pid, POST /posts/:pid/retry, POST /posts/:pid/unpublish, GET /posts/:pid/metrics, GET /posts/:pid/logs, GET /posts/logs, POST /posts/import, GET /posts/validate, POST /posts/validate | Create, schedule, update, delete, retry, and monitor posts |
| Media Library | GET /media, DELETE /media/:id, GET /media/storage, GET /media/upload-url, POST /media/upload, POST /media/:id/verify | Upload, list, delete media files and check storage |
| Usage | GET /usage, GET /accounts/:id/limits | Check resource usage and platform limits |
| API Keys | GET /keys, POST /keys, DELETE /keys/:id | Manage API keys |
| Webhooks | GET /webhooks, POST /webhooks, PATCH /webhooks/:id, DELETE /webhooks/:id | Manage outbound webhook endpoints |
| Users | GET /users/me, PATCH /users/me, DELETE /users/me | User profile |
| Billing | POST /billing/checkout, POST /billing/portal, GET /billing/checkout/status | Stripe billing |
Keeping the spec up to date
The API reference is generated from Go source annotations. To regenerate after changing the code: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.