Messages

Move a message into a folder

Changed on

Move the message to a different mail folder.

No new folders can be added. To organize mail, use labels.

No PUT body is needed.

put/addresses/{email}/messages/{messageId}/folder/{folder}

Request

  • Base URL
    https://mailsac.com/api
  • Auth
    • API key in query parameter _mailsacKey
    • or API key in header Mailsac-Key

Response

Moved message to folder

_idstring string

Unique Mailsac-generated identifier for an email message

folder'inbox' | 'all' | 'spam' | 'trash'

Folders for a email messages

Example response

{
  "_id": "m3phnJ2ag3example-0"
}

Changes

    • info

      api operation id SetMessageFolder was added

    • info

      api tag Messages added

    • info

      api tag Email Messages API removed

    • info

      removed the drafts enum value from the response property for the response status

    • info

      removed the sent enum value from the response property for the response status