Response Codes

View as Markdown

All API responses return a standard HTTP status code. On error, the response body includes a success: false flag and a message field with details.

1{
2 "success": false,
3 "message": "Permission denied: GET /accounts/{account_id}/campaigns"
4}

Status Codes

CodeStatusDescription
200SuccessRequest was successful.
400Bad RequestThe request path or parameters are invalid.
401UnauthorizedMissing or invalid API key, or the key does not have access to this account.
403ForbiddenThe API key does not have permission for the requested endpoint or method.
404Not FoundThe requested resource or route does not exist.
500Internal Server ErrorAn unexpected error occurred on the server.