This endpoint allows you to send service messages to recipients via WhatsApp.
Method: POST
URL: https://business.me-mate.net/sendservicemessages/sendmessages
Headers:
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?
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.