Send List Service Message

View as Markdown
### Send Service Messages - Send Messages This endpoint allows you to send service messages to a recipient using the specified messaging product. ### 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, in this case "interactive". - interactive (object): The interactive message details. - body (object): The message body details. - text (string): The text of the message body. - type (string): The type of interactive message, in this case "list". - action (object): The action details for the interactive message. - button (string): The display name for the list opening button . - sections (array): The sections within the interactive message. - rows (array): The rows within each section which represent the list items under section. - id (string): The ID of the row . - title (string): The title of the row or individual items. - description (string): The description of the row or individual items. - title (string): The title of the section. - footer (object): The footer details of the interactive message. - text (string, optional): The text for the message footer. - **header (object)**: The header details of the interactive message. - text (string): The text for the message header. - type (string): The type of header, in this case "text". **Note : You can use Different Types of message Header (like: Image, video and Document) same as Reply Button** - recipient_type (string, required): The type of recipient, in this case "individual". - messaging_product (string, required): The messaging product, in this case "whatsapp". - api_key (string, required): Your production API key. > [How to get Your API key?](#requirements) ### Response The response for this request is a JSON schema with the following structure: - messaging_product (string): The messaging product used. - contacts (array): An array of contacts with the following details: - input (string): The input details. - wa_id (string): The WhatsApp ID. - messages (array): An array of messages with the following details: - id (string): The ID of the message (by Meta).

Request

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

Response

OK
contactslist of objects
messageslist of objects
messaging_productstring