Send Template - With Header Video

Endpoint

https://app.wabais.com/api/messages

Method

POST

Authentication

Bearer Token

Body Type

json

Parameters

phone_number String required

template String required

media_id String required

media_file_path String required

media_type String required

phone_number_id String required

Sample Request Body

{
    "phone_number": "+254 724 459497",
    "template": "1160334048184703",
    "media_id": "1836514030024714",
    "media_file_path": "storage/media/pexels-cottonbro-5532774.mp4",
    "media_type": "VIDEO",
    "phone_number_id": "106069605674953"
}

The 'phone_number_id is the 'phone_number_id from Step One - Fetch Phone Numbers

Sample Response

{
}