Exotel Send SMS icon

Exotel Send SMS

Send SMS using Exotel API

Exotel Send SMS

AI-generated

Summary

Send an SMS message using the Exotel API by specifying sender, recipient, message content, and optional parameters such as encoding, priority, DLT information, status callback URL, and a custom tracking field.

Inputs

  • From (required) — ExoPhone or approved Sender ID that appears as the sender of the SMS.
  • To (required) — Mobile number to which the SMS has to be sent (E.164 format preferred).
  • Body (required) — Message content with a maximum length of 2000 characters.
  • Encoding Type — Type of message encoding, either Plain or Unicode.
  • Priority — SMS priority level, Normal or High (High is typically used for OTP messages).
  • DLT Entity ID — DLT Entity ID used for Indian numbers to comply with telecom regulations.
  • DLT Template ID — DLT Template ID used for Indian numbers specifying the approved message template.
  • Status Callback URL — Webhook URL to receive delivery status updates for the sent SMS.
  • Custom Field — Custom string field for tracking use case data such as order IDs.

Output shape

a list of JSON objects, each representing the result of the SMS send operation for the corresponding input item

Each output item contains the API response from Exotel for the SMS send request. Multiple input items can be processed sequentially, with one response per input.

Discussion