Messages

SendImage Message

post

Send Message to WhatsApp Box

This endpoint allows you to send a custom message to a phone number.

Use this API if you are sure client has responded / send you message in less than 24 hours.


Request Body

  • token (string) - The token for authentication.

  • phone (string) - The phone number of the recipient.

  • message (string) - The message to be sent

  • buttons (array) - List of buttons

  • header (string) - Header - only applied if there are buttons

  • footer (string) - Header - only applied if there are buttons


Response

  • status (string) - The status of the message delivery.

  • message_id (integer) - The ID of the sent message.

  • message_wamid (string) - The WhatsApp message ID.

Note: A status code of 200 indicates a successful request.

Body
imagestring · binaryOptional
phonestringOptional
tokenstringOptional
Responses
chevron-right
200Success

No content

post
/api/wpbox/sendmessage
200Success

No content

GetConversations

post

Send Message to WhatsApp Box

This endpoint allows you to send a custom message to a phone number.

Use this API if you are sure client has responded / send you message in less than 24 hours.


Request Body

  • token (string) - The token for authentication.

  • phone (string) - The phone number of the recipient.

  • message (string) - The message to be sent

  • buttons (array) - List of buttons

  • header (string) - Header - only applied if there are buttons

  • footer (string) - Header - only applied if there are buttons


Response

  • status (string) - The status of the message delivery.

  • message_id (integer) - The ID of the sent message.

  • message_wamid (string) - The WhatsApp message ID.

Note: A status code of 200 indicates a successful request.

Query parameters
mobile_apistringOptionalExample: true
Body
tokenstringOptional
Responses
chevron-right
200Success

No content

post
/api/wpbox/getConversations/none
200Success

No content

GetMessages Copy

post

Send Message to WhatsApp Box

This endpoint allows you to send a custom message to a phone number.

Use this API if you are sure client has responded / send you message in less than 24 hours.


Request Body

  • token (string) - The token for authentication.

  • phone (string) - The phone number of the recipient.

  • message (string) - The message to be sent

  • buttons (array) - List of buttons

  • header (string) - Header - only applied if there are buttons

  • footer (string) - Header - only applied if there are buttons


Response

  • status (string) - The status of the message delivery.

  • message_id (integer) - The ID of the sent message.

  • message_wamid (string) - The WhatsApp message ID.

Note: A status code of 200 indicates a successful request.

Body
contact_idnumberOptionalExample: 1
tokenstringOptional
Responses
chevron-right
200Success

No content

post
/api/wpbox/getMessages
200Success

No content

SendMessagesViaContact

post

Send Message to WhatsApp Box

This endpoint allows you to send a custom message to a phone number.

Use this API if you are sure client has responded / send you message in less than 24 hours.


Request Body

  • token (string) - The token for authentication.

  • phone (string) - The phone number of the recipient.

  • message (string) - The message to be sent

  • buttons (array) - List of buttons

  • header (string) - Header - only applied if there are buttons

  • footer (string) - Header - only applied if there are buttons


Response

  • status (string) - The status of the message delivery.

  • message_id (integer) - The ID of the sent message.

  • message_wamid (string) - The WhatsApp message ID.

Note: A status code of 200 indicates a successful request.

Body
tokenstringOptional
Responses
chevron-right
200Success

No content

post
/api/wpbox/sendMessagesViaContact
200Success

No content

Last updated