API Docs / Operations / Email - Mailbox / Mark messages as read or unread

Mark messages as read or unread

PATCH /tenants/{tenant}/email-configs/{code}/messages

Updates the read/unread status of one or more mailbox messages. The configuration must have ReadEnabled set to true. Provider sync (Microsoft Graph / Gmail) happens asynchronously — the response does not wait for the provider update.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
{
  "messageIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "isRead": false
}

Responses

204 No Content
400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found