Skip to main content

Read Messages

POST /acknowledgements

To receive a list of messages from Mixin Server, you need to setup a websocket connection. After receiving messages, you need to call tell Mixin Server that it has been delivered or read, otherwise it will keep pushing the message.

This API use to tell Mixin Server the status of messages in bulk.

Endpoint URL

https://api.mixin.one/acknowledgements

Authentication and options

Authorization
Authorized
LimitationNo limitation

Payload

[
{ "message_id": "message UUID", "status": "READ" },
{ "message_id": "message UUID", "status": "READ" },
...
]

Example request

curl -i -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/acknowledgements --data '[{"message_id":"928c5c40-769c-3e97-8387-fb1ae0645311", "status":"READ"}]'
Response
[
// up to 100 entries each time.
{ "message_id": "UUID", "status": "READ" },
...
]