This endpoint allows you to send service messages with image header to recipients using 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., image, text, etc.
image (object) - The image details including the link and caption.
link (string) - The full URL of the image.
caption (string) - The caption text for the image.
recipient_type (string) - The type of recipient, e.g., individual, group, etc.
messaging_product (string) - WhatsApp.
api_key (string) - Your production API key. > How to get Your API key?
The response is in JSON format and follows the schema below:
messaging_product (string): The messaging product used
contacts (array): An array of contact objects
input (string): Input information
wa_id (string): WhatsApp ID
messages (array): An array of message objects