Skip to main content

List Senders

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

Sender names are registered in the Arsel Dashboard under Settings > SMS Senders. Senders that are awaiting approval or were rejected are not returned.

Endpoint​

GET /sms/senders

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: KSA, Egypt, Bahrain, Iraq, Jordan, Kuwait, Oman, Qatar, UAE, Yemen or Turkey
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 be_your_api_key"

Error Responses​

{
"status_code": 401,
"name": "unauthorized",
"message": "Invalid or missing API key"
}