Send Text Service Message
This endpoint allows you to send Text service messages to individual 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
-
text (object):
-
body (string): The message body text
-
preview_url (boolean): Indicates whether to include a preview URL
-
-
type (string): The type of message (e.g., text)
-
recipient_type (string): The type of recipient (e.g., individual)
-
messaging_product (string): The messaging product (e.g., WhatsApp)
-
api_key (string): Your production API key > How to get Your API key?
-
Response
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
- id (string): Message ID
