Errors

SIP Caller uses standard HTTP status codes to indicate whether a request succeeded. Codes in the 2xx range indicate success, codes in the 4xx range indicate a problem with the request (for example, a missing field or a record that doesn't exist), and codes in the 5xx range indicate a problem on SIP Caller's side.

Error response format

Error responses have a JSON body following the Problem Details standard:

{ "type": "https://tools.ietf.org/html/rfc7231#section-6.5.4", "title": "One or more errors occurred.", "status": 404, "detail": "Campaign with id '01a0dedd-b9a2-729d-8e0a-4e3ad9197aea' not found", "instance": "/v1/accounts/ACCOUNT_ID/campaigns/01a0dedd-b9a2-729d-8e0a-4e3ad9197aea", "traceId": "0HN6QKQ1B2F3G:00000001" }
FieldDescription
typeA URL identifying the type of error, based on the HTTP status code.
titleA short, generic summary of the error.
statusThe HTTP status code.
detailA human-readable explanation of this specific error. Not present in validation errors.
instanceThe path of the request that caused the error.
traceIdA unique identifier of the request. Include it when contacting support about an error.
errorsOnly in 400 and 409 errors: the list of messages for each invalid field, as described below.

The detail and errors messages are meant to help developers understand the problem. Don't parse them in your code, since their text may change: use the HTTP status code instead.

Validation errors

When one or more fields of the request are invalid, the API returns a 400 Bad Request error with an errors object. Each key is the name of an invalid field (using dots for nested fields), and each value is the list of problems found:

{ "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "One or more validation errors occurred.", "status": 400, "instance": "/v1/accounts/ACCOUNT_ID/campaigns", "errors": { "name": ["Value must not be empty."], "maxAttempts": ["Value must be between 1 and 9."] }, "traceId": "0HN6QKQ1B2F3G:00000002" }

All invalid fields are reported at once, so you can fix them in a single step. Errors in the filter, sort and range query parameters are reported the same way, under those keys.

HTTP status codes

CodeMeaning
200 OKThe request succeeded.
201 CreatedThe resource was created. The response contains the new resource.
400 Bad RequestThe request is invalid: a required field is missing, a value has the wrong format or is out of range, or the JSON is malformed. See the errors or detail field.
401 UnauthorizedNo valid API key was provided. See Authentication.
403 ForbiddenThe API key doesn't have permission to perform the operation.
404 Not FoundThe resource doesn't exist, or doesn't belong to the account.
408 Request TimeoutThe request body was sent too slowly.
409 ConflictThe request conflicts with the current state of the resource. For example, a name that must be unique is already in use, or a resource can't be deleted because it's being used.
412 Precondition FailedThe resource was modified by someone else since you last read it. See Concurrent updates below.
413 Payload Too LargeThe request body exceeds the maximum size of 20 MB.
429 Too Many RequestsToo many requests were sent in a short time. See Rate limits.
500 Internal Server ErrorSomething went wrong on SIP Caller's side. Our team is notified automatically. You can retry the request later.

Concurrent updates

To prevent changes from being lost when the same resource is edited at the same time by different users or applications, update requests (for example Edit campaign) require a lastUpdatedAt field. It must contain the updatedAt value of the resource, as returned the last time you retrieved, created or edited it.

If the resource was modified in the meantime, its updatedAt value no longer matches, and the update is rejected with a 412 Precondition Failed error:

{ "type": "https://tools.ietf.org/html/rfc9110#section-15.5.13", "title": "One or more errors occurred.", "status": 412, "detail": "Update aborted to prevent 'lost update' problem; retry with correct 'lastUpdatedAt' value", "instance": "/v1/accounts/ACCOUNT_ID/blackLists/BLACK_LIST_ID", "traceId": "0HN6QKQ1B2F3G:00000003" }

When you get this error, retrieve the resource again, apply your changes to the latest version, and send the update with the new lastUpdatedAt value.

Handling errors

We recommend the following approach in your integration:

  • 4xx errors (except 429): don't retry the same request, since it will fail again. Log the response, including the traceId, and fix the request.
  • 429 errors: wait for the number of seconds indicated in the Retry-After header, and retry.
  • 5xx errors and network errors: retry with an exponential backoff (for example, after 1, 2, 4 and 8 seconds). Be careful when retrying requests that create resources or add numbers, since the first attempt may have succeeded before the error: check the current state before retrying.

Error response

{ "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "One or more validation errors occurred.", "status": 400, "instance": "/v1/accounts/ACCOUNT_ID/blackLists", "errors": { "name": [ "Value must not be empty." ] }, "traceId": "0HN6QKQ1B2F3G:00000002" }


SIP Caller
© 2026 Easy Caller LLC All Rights Reserved
LinkedinYou Tube
Trustpilot