Error codes
Standard HTTP status codes with a consistent error envelope.
All error responses share the envelope { message, errors? }. The errors array is only present on 400 Bad Request validation failures.
HTTP status reference
Validation error shape
The field is a dotted JSON path. Array indices appear as numeric segments (recipients.0).
Rate-limit headers
When you hit the per-client rate limit, the 429 response includes a Retry-After header (seconds until the limiter resets). Use it to back off rather than retrying immediately.
Credit safety on enqueue failure
If the API has already debited credit and then the SQS enqueue fails, Teekrr automatically releases the reserved credit and marks the messages as failed. You’ll see 500 — Failed to enqueue broadcast — messages marked failed in this case. No manual ledger correction is needed on your side.