Mail API reference

Mail API · Messages

post/v1/workspaces/{workspace_id}/mailboxes/{id}/messages/{mid}/readAuth

Mark a message as read

Path parameters

workspace_id*string · uuid

Id of the workspace.

id*string · uuid

Id of the mailboxe.

mid*string · uuid

Id of the message in the mailbox.

Response · 204

Marked read

Example

Request

POST https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/mailboxes/{id}/messages/{mid}/read
Authorization: Bearer YOUR_TOKEN