Skip to main content
POST
/
sms
Send Template SMS
curl --request POST \
  --url https://one.telepie.com/sms \
  --header 'apikey: <api-key>'
This functionality allows you to create and use predefined message templates for various scenarios such as promotions, reminders, notifications, and more. With Template SMS, you can ensure consistent communication while saving time on message composition.

Request Body Parameters

sender
string
required
Originator/Alphanumeric ID
to
string
required
Recipient’s MSISDN
text
string
required
The phone number for the contact.
type
string
required
Route Type. Use TRANS for Transactional type. Use PROMO for Promotional type. Use OTP for OTP type.
templateId
string
Unique ID of the template
{
  "sender": "senderName"
  "to": "91XXXXXXXXXX"
  "text": "Hello World!"
  "type": "TRANS"
  "templateId" :"templateId"
}