Praecise Inbox/ Reference/ Mailboxes

Mark read or unread

post/mailboxes/{mailbox}/messages/{id}/read

Set or clear the read flag on a message.

Before you call

Credential
Authorization: Bearer $KEY

Parameters

  • mailboxstringrequired
    In the path. Mailbox address.
  • idstringrequired
    In the path

Request bodyapplication/json, required

  • folderstring
    Folder id: inbox, sent, draft, archive, spam, trash, or a custom folder name. Default: inbox.
  • readboolean
    Default: true.

Responses

  • 200application/json
    Mark read or unread

    object

  • 401
    No valid access key.
  • 403
    The key may not do this on this mailbox.
  • 429
    Too many calls; see Retry-After.

This page as Markdown