Skip to content

Send sms

Request

This endpoint allows you to send an SMS message to a specified eSIM subscription identified by its ICCID. The request requires an API key for authentication and includes parameters for the sender's name and the message content.

Security
ApiKeyAuth
Path
iccidstringrequired
Bodyapplication/json
fromstringrequired
Example:"tellisim"
messagestringrequired
Example:"test message"
POST
/v3/subscriptions/{iccid}/send-sms
curl -i -X POST \
  'https://api.tellisim.com/v3/subscriptions/{iccid}/send-sms?key=YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "from": "tellisim",
    "message": "test message"
  }'

Responses

SMS sent successfully

Bodyapplication/json
errorbooleanrequired

Indicates whether an error occurred (true if an error occurred)

Example:false
messagestringrequired

A message providing additional information about the success response

Example:"SMS sent successfully"
Response
{ "error": false, "message": "SMS sent successfully" }