Notify Africa
API GuidesVoice API

Errors

Handle Voice Developer API authentication, subscription, validation, and lookup failures.

Authentication Errors

StatusCauseFix
401Missing, malformed, expired, revoked, or invalid API keySend Authorization: Bearer ntfy_your_api_key with a valid key
401Key is valid but not usable for API-key authenticationCreate a customer API key in the Portal
403API key does not include Voice accessCreate or rotate a key with the VOICE service grant

Subscription Errors

StatusCauseFix
403The API-key customer does not have an active Voice subscriptionActivate Voice for the customer account before calling the Developer API

Validation Errors

StatusCauseFix
400customerNumber is missing or not E.164Send a number such as +255700000001
400callSessionId is empty or longer than 128 charactersSend the local session row ID or backend call attempt ID returned by the API

Lookup Errors

StatusCauseFix
404No owned call matches the supplied callSessionIdCheck that the ID belongs to the API-key customer and has not been deleted

Provider And Dependency Errors

Voice calls depend on the configured Voice provider and internal queues. Provider failures, queue failures, or account-level Voice configuration issues can surface as server errors. Retry only when the operation is safe for your workflow, because starting a call is not idempotent.

On this page