cURL
curl --request POST \ --url https://app.enzo.health/api/v1/subscribers/{subscriberId}/messages/mark-as \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "messageId": "<string>", "read": true }'
{ "success": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object