Skip to main content

List Senders

List your organization's approved SMS sender names. Use a sender_name as the from of an SMS.

Arsel provisions sender names for you: contact support@arsel.sa to register one. Senders that are awaiting approval or were rejected are not returned.

Endpoint​

GET /sms/senders

Returns: 200 OK

Headers​

HeaderValueRequired
AuthorizationBearer <your-api-key>Yes

Query Parameters​

ParameterTypeDefaultDescription
limitnumber20Items per page (min: 1, max: 100)
afterstring—Cursor — return items after this id (exclusive).
beforestring—Cursor — return items before this id (exclusive).

Results are returned newest first. See Pagination for cursor details.

Response​

{
"object": "list",
"has_more": false,
"data": [
{
"id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6a",
"sender_name": "AcmeStore",
"country": "KSA",
"purposes": ["transactional", "marketing"],
"created_at": "2026-03-01T10:00:00.000Z"
},
{
"id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6b",
"sender_name": "AcmeOTP",
"country": "Egypt",
"purposes": ["transactional"],
"created_at": "2026-02-15T08:00:00.000Z"
}
]
}

Sender fields​

FieldTypeDescription
idstringThe sender ID
sender_namestringThe value to pass as from when sending SMS
countrystringThe country the sender is approved to send to, e.g. KSA or Egypt
purposesstring[]What the sender is registered for: transactional, marketing, or both
created_atstringWhen the sender was added (ISO 8601)
Match the sender to the message

SMS campaigns need a sender whose purposes include marketing. Messages sent through POST /sms/send need transactional. A sender only reaches numbers in its own country.


Examples​

curl "https://api.arsel.sa/v1/sms/senders" \
-H "Authorization: Bearer $ARSEL_API_KEY"

Error Responses​

{
"status_code": 401,
"name": "unauthorized",
"message": "Invalid API Key"
}