Request Parameters
The SMS service access key generated in the Antryk Console. Requests fail with
401 if missing or invalid.Secret key paired with the access key. Do not expose this in client-side code. Missing keys return
401 invalid credentials.Recipient phone number in E.164 format (e.g.
+1XXXXXXXXXX). Requests return 400 invalid_recipient for malformed numbers.Identifier of the SMS service configuration. Use the value from the console. Missing or disabled services return
404 service_not_found.Successful Response
Error Scenarios
- 401 invalid credentials –
accessKeyorsecretKeymissing/incorrect - 400 invalid_recipient –
tonot in E.164 or empty - 404 service_not_found –
serviceIdmissing, revoked, or disabled - 429 rate_limited – service exceeds per-minute quota
- 500 provider_unavailable – upstream SMS provider outage; retry with backoff
Always validate phone numbers and throttle retries to avoid rate limiting.

