Skip to main content
POST
https://api.telepie.com/v1/
/
whatsapp
Template with Header None
curl --request POST \
  --url https://api.telepie.com/v1/whatsapp \
  --header 'apikey: <api-key>'
This endpoint is designed for templates without complex headers but supports parameters for customization. Simply plug in and configure your parameters for easy and efficient use.

Request Body Parameters

from
string
required
The number registered with WhatsApp business from which the message is to be sent. Ensure that the country code is prefixed to the number. For example, if the number is in the India, the format would be: +91XXXXXXXXXX
templateName
string
required
This template name contains only lowercase alphanumeric characters and underscores.
to
string
required
Recipient’s MSISDN
type
string
required
WhatsApp message templates type
campaignName
string
The WhatsApp campaign name refers to the specific name or title given to a campaign conducted through WhatsApp
curl -G - /v1/whatsapp\
-H 'apikey':'string'
-H "Content-Type: application/json" \
-d '{
    "from": "91XXXXXXXXXX",
    "campaignName": "api-test",
    "to": "91XXXXXXXXXX",
    "templateName": "template_name",
    "type": "template"
  }'