Error codes

Every HTTP status the REST API can return and how to handle it.

StatusMeaningRecommended action
200Success — data returnedParse the 📱 field.
400Invalid inputFix input format — see the module page for the exact pattern.
401Missing or invalid bearer tokenRe-authenticate and retry.
402Insufficient creditsTop up credits, then retry.
404No records found upstreamPayload includes status: Not Found.
405Method not allowedOnly GET and POST are supported.
429Rate limit hitBack off; see rate limits doc.
500Upstream provider or internal faultCredits are auto-refunded. Retry after a short delay.

Error envelope

Every non-2xx response uses the same envelope — the human message is at ⚠️ and the machine-readable field is error.

{
  "⚠️": "Request failed",
  "⏰": "2026-07-24T09:12:44.512Z",
  "error": "Insufficient credits"
}

Keep reading