REST API error catalog
Documentation for integrators
Understand the problem and what to do next, from authentication to message sending.
Error types
Section titled “Error types”No matching error type. Change your search or clear the filters.
How to read a response
Section titled “How to read a response”- Check HTTP and Content-Type. A failure of the whole request has its own HTTP status and an
application/problem+jsonobject. - Identify the type.
typeidentifies the problem,detaildescribes the occurrence, andinstanceprovides the request path. - Read the operation result. With HTTP 200, check the message status, pricing result or cancellation/deletion result of every item.
HTTP/1.1 403 ForbiddenContent-Type: application/problem+json{ "type": "https://api.szybkisms.pl/problems/forbidden/", "status": 403, "title": "Access Denied", "detail": "Your account has not been verified by the operator yet.", "code": "403-2", "instance": "/rest/messages/sms"}What is code used for?
code is a diagnostic code that helps support locate the error handling branch. For example, 403-2 consists of problem status 403 and internal number 2. In a batch, an item’s problem status can differ from the HTTP status of the whole response.
When reporting a problem, provide code, the endpoint and request time. Classify problems in an integration using type and the problem status. The number after the hyphen is not a public cause registry.
Operation results in batch responses
Section titled “Operation results in batch responses”Sending returns a message status, pricing returns a calculation result, and cancellation or deletion returns the result of an operation on a resource. Each format describes its operation; HTTP 200 confirms that the request was processed.
Full REST API documentation · JSON catalog · Problem Details standard — RFC 9457