ResoneraDocs

Errors

HTTP status codes and error response formats.

The API uses standard HTTP status codes. Error responses include a JSON body:

{ "error": "API key lacks required scope 'agents:write'", "status_code": 403, "timestamp": "2026-10-05 09:12:44" }

Validation errors

A missing field or a field of the wrong type returns 422, with each problem and its location listed in detail:

{ "detail": [ { "loc": ["body", "prompt"], "msg": "Field required", "type": "missing" } ] }

Plan limit errors

A request that exceeds a plan limit returns 402. error is an object that identifies the limit:

{
  "error": { "error": "limit_exceeded", "limit": "agent_limit_exceeded", "message": "plan Starter allows 3 default agents" },
  "status_code": 402
}

Status codes

CodeDescriptionResolution
200, 201, 202The request succeeded.
400The request cannot be processed, for example launching a campaign with no pending contacts.Read error. Do not retry the same request.
401The API key is missing, malformed, or revoked.Check the X-API-Key header.
402Calling minutes are exhausted, or a plan limit is reached.Add minutes or upgrade your plan in the dashboard.
403The API key does not have the required scope.Use a key with the required scope.
404The resource does not exist or belongs to another organization.Check the ID.
409The request conflicts with the resource's current state, for example joining a call that has ended.Read error and check the resource's state.
413The uploaded file exceeds 50 MB.Upload a smaller file.
422A field is missing or invalid.Correct the request.
429The API key exceeded its rate limit, or its daily dispatch cap.For rate limits, wait the number of seconds in the Retry-After header. For the dispatch cap, wait until 00:00 UTC.
500, 502, 503An error occurred at Resonera or a telephony provider.Retry with exponential backoff.

Retries

GET requests are safe to retry. Before retrying a POST request that timed out, confirm whether it took effect. For example, list your campaigns before creating the same batch again, and check contacts_by_status before launching a campaign again.

On this page