Authentication
All API requests require a Bearer token in theAuthorization header.
Getting Your API Token
- Log in to the CloudBlast Panel
- Go to Account Settings > API
- Copy your API token
IP Whitelisting
If you’ve configured an IP whitelist in your account settings (apiAddress field), only requests from that IP address will be accepted. Requests from other IPs will receive a 403 error:
Example Request
Error Responses
| Status | Code | Description |
|---|---|---|
401 | UNAUTHENTICATED | Missing or invalid Authorization header |
401 | INVALID_TOKEN | The API token doesn’t match any account |
403 | ACCOUNT_BANNED | Your account has been suspended |
403 | IP_NOT_ALLOWED | Request IP is not in your whitelist |