Skip to content

Access denied

Access / forbidden

The account, REST settings, client IP address or permissions prevent this operation.

HTTP 403
  1. Check that the user account is activated and verified.
  2. Check REST access and allowed IP addresses in the API account settings.
  3. Access to another user’s data requires the main account or the appropriate permissions.
Response headers
HTTP/1.1 403
Content-Type: application/problem+json
Content-Language: en-US
Example API response
{
"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"
}

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

6 situations
HTTP 403Whole request failureLink ↗

Your account has not been activated yet.

Complete user account activation.

Authenticated REST endpoints
HTTP 403Whole request failureLink ↗

Your account has not been verified by the operator yet.

Wait for the operator to verify your account.

Authenticated REST endpoints
HTTP 403Whole request failureLink ↗

REST API access is disabled in your API ID settings.

Enable REST access in the API account settings.

Authenticated REST endpoints
HTTP 403Whole request failureLink ↗

API access from this IP address is blocked in your API ID settings.

Check the client's public outgoing IP address and the API account's allowed IP list.

Authenticated REST endpoints
HTTP 403Whole request failureLink ↗

Your account does not have sufficient permissions to access this resource.

Use the main account or a user with permission to manage users.

GET /rest/accountGET /rest/account/{user_login}
HTTP 403Whole request failureLink ↗

The API client IP address is missing.

Check how the client IP address is forwarded through trusted proxies. Contact support if it is still unavailable.

Authenticated REST endpoints