Get outbound messages queue.
showMessagesQueue
When sending messages, all messages are in the queue. If the message is not sent, then it remains in the queue and in time it will be sent again. The message may not be sent due to the status of the device connected to the account. This method give the last 100 messages in the queue.
- api
- Message
- showMessagesQueue
Request test
Request URL
https://api.4whats.net/showMessagesQueue
Parameters
instanceid
|
|
token
|
{ "totalMessages": 199, "first100": [ { "id": 1, "body": "Hey!", "type": "chat", "last_try": 1528320463436, "metadata": {} }, { "id": 1, "body": "Hey!", "type": "chat", "last_try": 1528320463436, "metadata": {} } ] }
Request samples
Note : don't forget to URL encode your query
params like base64 or utf-8
All rights reserved © 2021 - 2024.