API Reference

Error Codes

All errors return this shape:

{ "error": { "code": "ERROR_CODE", "message": "Human-readable message" } }
CodeHTTPDescription
INVALID_API_KEY401Missing or invalid API key
EXPIRED_API_KEY401API key has expired
RATE_LIMITED429Too many requests
FORBIDDEN403Key doesn't have org access
PLAN_UPGRADE_REQUIRED403Current plan does not include API access
INVALID_REQUEST400Malformed body or missing required fields
INVALID_ACCOUNTS400One or more socialAccountIds don't belong to your org
UNSUPPORTED_MEDIA400File type not image/* or video/*
POST_NOT_FOUND404Post ID not found
INTERNAL_ERROR500Server error