Log in

SMS API errors, status codes and rate limits

What each code means and how many requests you can make.

Last updated

Errors always have the same shape. Program against code, never against message: the text can change, the code cannot.

json
{
  "error": {
    "code": "device_not_found",
    "message": "Device dev_oppo_cph2577 not found.",
    "requestId": "req_01H8X2K9"
  }
}

HTTP statuses

StatusMeaningWhat to do
200acceptednothing
400the request is malformedfix the body; retrying will not help
401invalid or revoked keycreate a new key
402no messages left on the planwait for renewal or change plan
403the account is blocked, or the recipient opted outcheck the code; retrying will not help
404the device, message or conversation does not existcheck the id
409the Idempotency-Key was used with a different bodyuse a new key for a new request
429too many requestsslow down; the limit resets every minute
5xxfailure on our sideretry with the same Idempotency-Key

Error codes

CodeWhen it happens
validation_errora field is missing or malformed
invalid_numberthe number is not valid
message_too_longabove 10,000 characters
device_not_foundthe deviceId does not belong to the account
not_foundthe message or conversation does not exist, on GET /messages/:id and /conversations/:id (404)
quota_exceededthis cycle's messages have run out
account_blockedthe account was blocked (403); if you think this is a mistake, write to hello@droidsender.com
recipient_opted_outthe recipient replied STOP; do not retry (403)
idempotency_conflictthe Idempotency-Key was already used with a different body (409)
rate_limitedabove the request limit for this account
invalid_keythe key was revoked, or never existed

Limits

LimitValue
API requests60 per minute per key, multiplied by the phones connected to the account (up to 3000)
Sending per phoneabout 30 one-part messages per minute; on most phones Android allows about 30 SMS parts per minute, so a 3-part message counts as 3
Messages per cycleyour plan's quota; every response tells you what is left
Message lengthup to 10,000 characters (about 66 SMS in GSM-7)
reference field200 characters

Use DroidSender from ChatGPT, Claude, Gemini or Grok. Your assistant can prepare your list, send and pause campaigns, check your phones and fix errors for you, on every plan.

See how it works

Your cookie preferences

We use essential cookies to run this site. With your consent, we also use analytics and advertising cookies to understand visits and measure our ads. You can change your choice at any time in Cookie settings. Cookie policy