Get a list of instance messages (sent,queue,unsent,all)
Request test
Request URL
https://api.alvochat.com/{{instance_id}}/messages
Parameters
Token
*Required
|
|
page
*Required
|
pagination page number |
limit
*Required
|
number of messages per request . max value : 100 . |
status
*Required
|
Messages status [sent , queue , unsent , expired, all] |
sort
*Required
|
asc : sorted messages by ID from smallest to largest . |
id
*Required
|
filter messages by message id |
referenceId
*Required
|
filter messages by your custom reference ID |
from
*Required
|
filter messages by phone_number_id |
to
*Required
|
filter messages by recipient number |
ack
*Required
|
filter messages by message ack status [sent,delivered , read ] |
message_id
*Required
|
message_id of the incoming message from Webhooks |
Request samples
Note : don't forget to URL encode your query params like base64 or utf-8