Send Video Message Template

View as Markdown
The `POST` request to `https://business.me-mate.net/whatsappbusiness/send-templated-message` endpoint is used to send a templated message via MessengerMate Business API for WhatsApp template sending. The request payload should include the following parameters to send Video Message Template: ### Request Body - **api_key** (string): Your API key > [How to get Your API key?](#requirements) - **sender** (string): Sender's number - **campaign_id** (string): Your campaign ID > [How to get a campaign id?](https://getgabs.com/blogs/how-to-get-campaign-id-on-getgabs-to-send-template-messages-via-api/) - **messaging_product** (string): WhatsApp - **recipient_type** (string): Individual - **to** (string): Receiver's number - **type** (string): Template - **template** (object): - **name** (string): Your approved template name - **language** (object): - **code** (string): en_US - **components** (array): - **type** (string): HEADER (this indicate message with Header. In this case Header is video which is included in parameters array.) - **parameters** (array): - **type** (string): VIDEO( this indicates type of header) - **video** (object): - **link** (string): Video full url. ### Response - `messaging_product` (string): The messaging product used. - `contacts` (array): - `input` (string): The input message. - `wa_id` (string): The WhatsApp ID of the recipient.

Request

This endpoint expects an object.
tostringRequired
typestringRequired
senderstringRequired
api_keystringRequired
templateobjectRequired
campaign_idstringRequired
recipient_typestringRequired
messaging_productstringRequired

Response

OK
contactslist of objects
messageslist of objects
messaging_productstring