API Reference
Error Codes
All errors return this shape:
{ "error": { "code": "ERROR_CODE", "message": "Human-readable message" } }| Code | HTTP | Description |
|---|---|---|
INVALID_API_KEY | 401 | Missing or invalid API key |
EXPIRED_API_KEY | 401 | API key has expired |
RATE_LIMITED | 429 | Too many requests |
FORBIDDEN | 403 | Key doesn't have org access |
PLAN_UPGRADE_REQUIRED | 403 | Current plan does not include API access |
INVALID_REQUEST | 400 | Malformed body or missing required fields |
INVALID_ACCOUNTS | 400 | One or more socialAccountIds don't belong to your org |
UNSUPPORTED_MEDIA | 400 | File type not image/* or video/* |
POST_NOT_FOUND | 404 | Post ID not found |
INTERNAL_ERROR | 500 | Server error |