API Errors

Troubleshoot authentication, request errors and failed deliveries on the current SMS Studio API.

This guide applies to the SMS Studio /api/v1/ endpoints. Check the response body even when the HTTP status is 200. The API reports many authentication and validation errors in the JSON status and message fields.

Find the error before retrying

What you seeWhat to check
api_token is not valid or Invalid accessCheck the token in API and use Authorization: Bearer YOUR_API_TOKEN. The exact message depends on the endpoint.
invalid phone numberCheck the recipient’s full number and country code. For a single SMS send, use digits only.
Not enough money to send SMSCheck the account’s available balance and the charge for the recipient’s destination and message segments.
HTTP 429Slow down request submission and retry after a delay. Check for a Retry-After header.
status: "Fail" for a sendThe attempt failed. Check the API Log and the sender and destination before sending again. A failed carrier attempt can still be billed.

Check acceptance and delivery separately

status: "Ok" means SMS Studio accepted the request. Save the message id and use the delivery notification or status lookup for the carrier outcome. For a timeout with no response, check the API Log before repeating the send so you can avoid duplicate texts.

If you see an error mentioning api_key or api_secret, check the endpoint and host. Those fields are associated with some upstream or older integrations. Start with the current SMS API quickstart for direct SMS Studio calls. If support is needed, share the endpoint, timestamp and message ID with credentials removed.

Log in to rate this article