Skip to main content
POST
Send a single SMS

Authorizations

X-Api-Key
string
header
required

Body

application/json
to
string
required

Phone number to send SMS to

Example:

"+25884xxxxxxx"

text
string
required

Message content

Example:

"Hello from ECSEND API!"

senderId
string
required

Sender ID displayed on recipient's device

Example:

"ECSEND"

Response

Message sent successfully

success
boolean
Example:

true

message
string
Example:

"Message sent successfully"

historyId
string
Example:

"clx123abc"

units
integer
Example:

1