Send Video Service Message

View as Markdown
This endpoint allows you to send service messages to recipients via WhatsApp. ### Request - Method: POST - URL: `https://business.me-mate.net/sendservicemessages/sendmessages` - Headers: - Content-Type: application/json - Body: - **to** (string) - The recipient's number. - **type** (string) - The type of message, e.g., video, text, image, etc. - **video** (object) - The video content to be sent, including the link and caption. - **link** (string) - The full URL of the video. - **caption** (string) - The text to be used as the caption for the video. - **recipient_type** (string) - The type of recipient, e.g., individual, group, etc. - **messaging_product** (string) - whatsApp - **api_key** (string) - The production API key for authentication. >[How to get Your API key?](#requirements) ### Response The response is in JSON format and includes the following fields: - **messaging_product** (string) - The messaging product used for sending the message. - **contacts** (array) - An array of objects containing input and wa_id for the contacts. - **input** (string) - The input provided for the contact. - **wa_id** (string) - The WhatsApp ID of the contact. - **messages** (array) - An array of objects containing the ID of the sent messages. - **id** (string) - The ID of the sent message.

Request

This endpoint expects an object.
tostringRequired
typestringRequired
videoobjectRequired
api_keystringRequired
recipient_typestringRequired
messaging_productstringRequired

Response

OK
contactslist of objects
messageslist of objects
messaging_productstring