Firsty BuildersHelpWhat status codes does the Firsty API return?
Integration

What status codes does the Firsty API return?

Standard HTTP semantics: 2xx success, 4xx client error (with a JSON error body), 429 rate limit, 5xx retry with backoff.

The short answer

The Firsty API follows standard HTTP semantics. Every non-2xx response includes a JSON error body with a

code
and
message
.

Codes you will actually see

Try it yourself

Free sandbox. Real Tier-1 carriers. 60 seconds from signup to credentials.

Get started →
CodeMeaningWhat to do
200SuccessUse the body
201Resource createdStore the returned reference
202Accepted, processing asyncPoll or wait for webhook
400Bad requestFix your payload; do not retry blindly
401Token invalid or expiredRe-mint OAuth2 token
403Forbidden for this clientCheck plan permissions
404Resource not foundVerify the reference exists
409Conflict (e.g. duplicate idempotency key)Treat as success if same payload
422Validation errorInspect
errors[]
in the body
429Rate limitedBack off using
Retry-After
header
500Server errorRetry with exponential backoff
503Carrier or partner downRetry; do not refund the customer yet

Error body shape

json
{
  "code": "plan_not_found",
  "message": "No plan exists with reference plan_eu_5gb_30d",
  "errors": []
}

Always log the

code
field. It is stable across versions;
message
is not.

Was this helpful?