Messages
Add a label to a message
Changed onTo help organize messages and group messages together, add a label to a message. Labels are used in the Inbox UI to group messages.
When successful, returns 200 with a subset of the message object.
When the label already exists on the message, the message is not modified and the API endpoint returns 200.
No PUT body is needed.
put/addresses/{email}/messages/{messageId}/labels/{label}
Request
- Base URLhttps://mailsac.com/api
- Auth
- API key in query parameter _mailsacKey
- or API key in header Mailsac-Key
Response
Sets the specified label on a message.
Example response
{
"_id": "m3phnJ2ag3example-0"
}Changes
- info
api operation id
AddMessageLabelwas added - info
api tag
Messagesadded - info
api tag
Email Messages APIremoved
- info