Skip to content

Authentication failed

Access / unauthorized

The API token is missing or cannot be used to authenticate the request.

HTTP 401
  1. Send the current API account token in Authorization: Bearer <token>.
  2. Check whether the token has been replaced and whether you are using the correct API account.
  3. Retry after updating the credentials. Do not repeatedly submit the same invalid token.
Response headers
HTTP/1.1 401
Content-Type: application/problem+json
Content-Language: en-US
WWW-Authenticate: Bearer
Example API response
{
"type": "https://api.szybkisms.pl/problems/unauthorized/",
"status": 401,
"title": "Unauthorized",
"detail": "Authorization token is missing or invalid.",
"code": "401-1",
"instance": "/rest/messages/sms"
}

code is a diagnostic code for support. instance provides the request path. The example uses the current API identifiers.

1 situations
HTTP 401Whole request failureLink ↗

Authorization token is missing or invalid.

Send the current token for the correct API account in one Authorization: Bearer <token> header, without extra prefixes or a list of tokens.

Authenticated REST endpointsAny REST endpoint