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., “audio”.
audio (object) - The audio content with a link to the full audio URL.
link (string) - The full audio URL.recipient_type (string) - The type of recipient, e.g., “individual”.
messaging_product (string) - “whatsapp”.
api_key (string) - Your production API key. > How to get Your API key?
The response includes the following fields:
messaging_product (string) - The messaging product used.
contacts (array) - An array of contacts with their input and WhatsApp ID.
input (string) - The input.
wa_id (string) - The WhatsApp ID.
messages (array) - An array of messages with their IDs.
id (string) - The message ID.