Skip to main content
Manage your Sender IDs programmatically via the API. A Sender ID is the name or number that recipients see as the message sender. All Sender IDs must be approved before you can use them to send messages.
All requests must include the Authorization: Bearer YOUR_API_KEY header. Requests and responses use Content-Type: application/json.

List Sender IDs

Endpoint

Returns all Sender IDs registered to your account, including their current approval status.

Request

Response

200 — Success

Response Fields

string
Indicates the outcome of the request. Either "success" or "error".
array
An array of Sender ID objects associated with your account.
string
Unique identifier for the Sender ID record.
string
The Sender ID string as it appears to message recipients.
string
Approval status of the Sender ID. One of pending, approved, or rejected.
string
ISO 8601 timestamp indicating when the Sender ID was submitted.

Register a Sender ID

Endpoint

Submit a new Sender ID for approval. Once submitted, the Sender ID enters a review queue and cannot be used for sending until its status is "approved".

Request

Request Body Parameters

string
required
The Sender ID you want to register. Maximum 11 alphanumeric characters (letters and numbers only; no spaces or special characters). This is the name recipients will see when they receive your messages.

Response

201 — Created

Response Fields

string
Indicates the outcome of the request. Either "success" or "error".
object
The newly created Sender ID record.
string
Unique identifier for the new Sender ID record.
string
The Sender ID string as submitted.
string
Always "pending" immediately after submission. Updates to "approved" or "rejected" after review.
string
ISO 8601 timestamp of when the Sender ID was submitted.
Sender IDs require manual approval, which typically takes 1–3 business days. You cannot use a Sender ID with status: "pending" or status: "rejected" to send messages — attempts will return a 400 invalid_sender_id error.

Code Examples