SendSMSby ZEXTELDocumentation
EN
Cabinet
Open MarkdownOpen in ChatGPTOpen in Claude
⋯ Page actions
Open MarkdownOpen in ChatGPTOpen in ClaudeOpen in CursorOpen in PerplexityOpen in Gemini (question is copied)Open in Microsoft CopilotOpen in IBM Bob (question is copied)

Sender IDs

List Sender IDs

GET/v1/senders

Required permission: senders.read

Ascending ID keyset pagination, no total/count scan. Follow nextCursor as after; null means the end. No cross-request snapshot guarantee.

GET /v1/senders

cURL. The key is in the SENDSMS_API_KEY environment variable.

curl --max-time 30 --request GET \
  --url 'https://api.sendsms.to/v1/senders' \
  --header "X-API-Key: $SENDSMS_API_KEY"

#Parameters

FieldTypeDescription
limitoptionalquery · integer
minimum: 1
maximum: 100
default: 50
afteroptionalquery · string
statusoptionalquery · string
pending approved rejected disabled

#Responses

200Successful result

Response format

FieldTypeDescription
itemsrequiredarray<object>Page of sender records selected by SendSMS for the authenticated account and filters. An empty array is a successful empty result.
items[].idrequiredstring · uuidSender record UUID generated by the SendSMS database when the request/record is created. Use this ID for GET /v1/senders/{id}; it is not the displayed Sender ID value.
items[].valuerequiredstringSender value supplied in the request and stored by SendSMS after validation. Registration does not itself authorize sending.
items[].channelrequiredstringChannel recorded by SendSMS; this API returns sms.
const: "sms"
items[].countryrequiredstring | nullRequested country scope stored by SendSMS; ISO alpha-2 or null for no explicit country restriction.
items[].operatorIdrequiredstring | null · uuidExisting operator registry UUID selected in the request and stored by SendSMS; null for no explicit operator restriction. Not a new operator created by this API.
items[].statusrequiredstringApproval/availability state managed by SendSMS moderation: pending, approved, rejected or disabled. approved: may be used for sending until expiresAt (when set). Limitation of the current version: country, operator and effectiveAt are stored but not applied at sending.
"pending" "approved" "rejected" "disabled"
  • pending — Request awaits platform review; not approved for use.
  • approved — Approved in SendSMS; applicable channel, dates and operator rules still apply.
  • rejected — Request rejected by platform review.
  • disabled — Sender disabled in SendSMS.
items[].effectiveAtrequiredstring | null · date-timeValidity start configured in SendSMS. null means no explicit start bound. ISO 8601 UTC; null may also indicate missing historical data. Not a message-delivery timestamp. Limitation of the current version: not applied at sending.
items[].expiresAtrequiredstring | null · date-timeValidity end configured in SendSMS. null means no explicit expiry. ISO 8601 UTC; null may also indicate missing historical data. Not a message-delivery timestamp.
items[].createdAtrequiredstring | null · date-timeRecord creation timestamp assigned by the SendSMS database. ISO 8601 UTC; null may also indicate missing historical data. Not a message-delivery timestamp.
items[].updatedAtrequiredstring | null · date-timeLast record change timestamp maintained by SendSMS. ISO 8601 UTC; null may also indicate missing historical data. Not a message-delivery timestamp.
items[].dryRunoptionalbooleanPresent only in the answer to a trial request (X-Dry-Run: true): nothing was executed; identifiers in this answer are conditional.
const: true
nextCursorrequiredstring | null · uuidSendSMS copies the last returned row ID when another page exists. Pass it unchanged as after with GET /v1/senders. null means no next page in this snapshot; not a new resource ID.
400Invalid input

Check required fields, value types and the request format.

Response format

FieldTypeDescription
errorrequiredstringError identifier or legacy human-readable text returned by SendSMS. Not every handler exposes a stable machine code here. Check HTTP status and documented identifiers; never parse translated prose as a permanent code.
messageoptionalstringOptional explanation generated by SendSMS. Intended for people; wording/language may change. Absence means the handler supplied no separate explanation.
codeoptionalstringOptional machine-readable code generated by SendSMS or its HTTP framework. Meaning depends on the operation; not a universal numeric provider code.
statusCodeoptionalintegerOptional HTTP status number generated by the server framework for a framework-level error. The actual HTTP response status is authoritative.
401Invalid or revoked API key

Check the X-API-Key header and key status. Never expose the key in client-side code. The machine code is in the code field: api_key_missing or api_key_invalid.

Response format

FieldTypeDescription
errorrequiredstringError identifier or legacy human-readable text returned by SendSMS. Not every handler exposes a stable machine code here. Check HTTP status and documented identifiers; never parse translated prose as a permanent code.
messageoptionalstringOptional explanation generated by SendSMS. Intended for people; wording/language may change. Absence means the handler supplied no separate explanation.
codeoptionalstringOptional machine-readable code generated by SendSMS or its HTTP framework. Meaning depends on the operation; not a universal numeric provider code.
statusCodeoptionalintegerOptional HTTP status number generated by the server framework for a framework-level error. The actual HTTP response status is authoritative.
403Insufficient key permissions or account/channel policy; or the request came from an IP address not allowed for this key (ip_not_allowed)

Check API key permissions, account settings and channel availability.

Response format

FieldTypeDescription
errorrequiredstringError identifier or legacy human-readable text returned by SendSMS. Not every handler exposes a stable machine code here. Check HTTP status and documented identifiers; never parse translated prose as a permanent code.
messageoptionalstringOptional explanation generated by SendSMS. Intended for people; wording/language may change. Absence means the handler supplied no separate explanation.
codeoptionalstringOptional machine-readable code generated by SendSMS or its HTTP framework. Meaning depends on the operation; not a universal numeric provider code.
statusCodeoptionalintegerOptional HTTP status number generated by the server framework for a framework-level error. The actual HTTP response status is authoritative.
404Resource unavailable to this account

Check the resource ID and whether it belongs to the API key account.

Response format

FieldTypeDescription
errorrequiredstringError identifier or legacy human-readable text returned by SendSMS. Not every handler exposes a stable machine code here. Check HTTP status and documented identifiers; never parse translated prose as a permanent code.
messageoptionalstringOptional explanation generated by SendSMS. Intended for people; wording/language may change. Absence means the handler supplied no separate explanation.
codeoptionalstringOptional machine-readable code generated by SendSMS or its HTTP framework. Meaning depends on the operation; not a universal numeric provider code.
statusCodeoptionalintegerOptional HTTP status number generated by the server framework for a framework-level error. The actual HTTP response status is authoritative.
409Conflict

Check the current resource state and operation conditions before retrying.

Response format

FieldTypeDescription
errorrequiredstringError identifier or legacy human-readable text returned by SendSMS. Not every handler exposes a stable machine code here. Check HTTP status and documented identifiers; never parse translated prose as a permanent code.
messageoptionalstringOptional explanation generated by SendSMS. Intended for people; wording/language may change. Absence means the handler supplied no separate explanation.
codeoptionalstringOptional machine-readable code generated by SendSMS or its HTTP framework. Meaning depends on the operation; not a universal numeric provider code.
statusCodeoptionalintegerOptional HTTP status number generated by the server framework for a framework-level error. The actual HTTP response status is authoritative.
422Validation or eligibility failure

Correct the data or eligibility conditions indicated in the response.

Response format

FieldTypeDescription
errorrequiredstringError identifier or legacy human-readable text returned by SendSMS. Not every handler exposes a stable machine code here. Check HTTP status and documented identifiers; never parse translated prose as a permanent code.
messageoptionalstringOptional explanation generated by SendSMS. Intended for people; wording/language may change. Absence means the handler supplied no separate explanation.
codeoptionalstringOptional machine-readable code generated by SendSMS or its HTTP framework. Meaning depends on the operation; not a universal numeric provider code.
statusCodeoptionalintegerOptional HTTP status number generated by the server framework for a framework-level error. The actual HTTP response status is authoritative.
429Rate limit

Reduce the request rate and delay retries. The general per-second limit: code = rate_limit_exceeded.

Response format

FieldTypeDescription
errorrequiredstringError identifier or legacy human-readable text returned by SendSMS. Not every handler exposes a stable machine code here. Check HTTP status and documented identifiers; never parse translated prose as a permanent code.
messageoptionalstringOptional explanation generated by SendSMS. Intended for people; wording/language may change. Absence means the handler supplied no separate explanation.
codeoptionalstringOptional machine-readable code generated by SendSMS or its HTTP framework. Meaning depends on the operation; not a universal numeric provider code.
statusCodeoptionalintegerOptional HTTP status number generated by the server framework for a framework-level error. The actual HTTP response status is authoritative.
503Temporarily unavailable

The service is temporarily unavailable. Before retrying an SMS submission, check whether the previous request was accepted.

Response format

FieldTypeDescription
errorrequiredstringError identifier or legacy human-readable text returned by SendSMS. Not every handler exposes a stable machine code here. Check HTTP status and documented identifiers; never parse translated prose as a permanent code.
messageoptionalstringOptional explanation generated by SendSMS. Intended for people; wording/language may change. Absence means the handler supplied no separate explanation.
codeoptionalstringOptional machine-readable code generated by SendSMS or its HTTP framework. Meaning depends on the operation; not a universal numeric provider code.
statusCodeoptionalintegerOptional HTTP status number generated by the server framework for a framework-level error. The actual HTTP response status is authoritative.

Type to search