API reference
Sender IDs
List the sender identities on your account and learn which values a send accepts as from — no more guessing why a sender was rejected.
A sender identity is a name your account may send as. Sender IDs are captured at
registration and approved on the network-operator side, usually in about 30 minutes; only an
approved SMS identity is accepted as a message's from.
The sender identity object
Attributes
idstring (uuid)Identity id. Not what a send takes — useaddress.channelstringThe channel this identity belongs to. Onlysmsidentities are usable as an SMSfrom.namestringDisplay name of the identity.addressstringstatusstringIdentity state. A send requiresactive.verification_statusstringApproval state. A send requiresverified; an identity still in carrier review is not yet usable.
An identity is usable as from only when all three line up: channel: sms,
status: active, verification_status: verified. Anything else is rejected with
400 unknown or unapproved sender id — and a non-verified row here is exactly how you
explain a rejected from without a support ticket.
{
"id": "3c9d1e5f-7a2b-4c8d-9e0f-1a2b3c4d5e6f",
"channel": "sms",
"name": "Sendai SMS",
"address": "Sendai SMS",
"status": "active",
"verification_status": "verified"
}
List sender IDs
/api/v1/accounts/{id}/channel-identitiesLists the sender identities on your account, across every channel.
This is the endpoint behind the hosted MCP server's list_sender_ids tool — see
AI agents.
Path parameters
idstring (uuid)requiredYour account id. It is on the key create response asaccount_id, and on every row of the key listing asAccountId.
Response
Enveloped: data is an array of sender identity objects.
Errors
| Status | When |
|---|---|
401 | Missing, malformed, or revoked API key. |
curl https://api.sendai.co.zw/api/v1/accounts/2d6f4b8e-1a90-4e21-8b7d-3f1a5c2e9a0c/channel-identities \
-H "Authorization: Bearer $SENDAI_API_KEY"
{
"status": "success",
"message": "request successful",
"data": [
{
"id": "3c9d1e5f-7a2b-4c8d-9e0f-1a2b3c4d5e6f",
"channel": "sms",
"name": "Sendai SMS",
"address": "Sendai SMS",
"status": "active",
"verification_status": "verified"
},
{
"id": "8e2f4a6c-1b3d-4e5f-a7c9-2d4e6f8a0b1c",
"channel": "sms",
"name": "MyStore",
"address": "MyStore",
"status": "active",
"verification_status": "pending"
}
]
}