Skip to main content
POST
https://api.telepie.com/v1/
/
whatsapp
Video Messages
curl --request POST \
  --url https://api.telepie.com/v1/whatsapp \
  --header 'apikey: <api-key>'
To send a simple video message, first assemble an object with type video

Required Body Parameters

The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs. Do not use this field when message type is set to text.
caption
string
This field is is limited to 1024 characters. Captions are currently not supported for document media.
curl -P - /v1/whatsapp\
-H 'apikey':'string'
-H "Content-Type: application/json" \
-d '{
    "recipient_type": "individual",
    "from": "+91XXXXXXXXXX",
    "to": "+91XXXXXXXXXX",
    "type": "video",
    "video": {
        "link": "http(s)://the-url",
        "caption": " Testing"
    }
}