Praecise Inbox/ Reference/ Mailboxes

Move a message

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

Move a message to another folder. Archive and Trash are folders; nothing is deleted outright.

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.
  • tostring
    Destination folder, e.g. Archive or Trash.

Responses

  • 200application/json
    Move a message

    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