Get Started
Usage API
More information

messages

Name Resource Description
Export a message to CRM PUT api/2.0/mail/messages/crm/export Exports a mail to the CRM relation history for some entities.
Get a message GET api/2.0/mail/messages/{id} Returns the detailed information about a message with the ID specified in the request.
Get a message template GET api/2.0/mail/messages/template Returns a message template - empty message in the JSON format.
Get filtered messages GET api/2.0/mail/messages Returns the messages with the parameters specified in the request.
Get the previous or next message ID GET api/2.0/mail/messages/{id}/{direction} Returns the previous or next message ID filtered with the parameters specified in the request.
Move messages to the folder PUT api/2.0/mail/messages/move Moves the messages to a folder with the ID specified in the request.
Reassign drafts/templates PUT api/2.0/mail/messages/reassign Reassigns drafts/templates to the selected email.
Remove messages PUT api/2.0/mail/messages/remove Removes messages with the IDs specified in the request.
Restore messages PUT api/2.0/mail/messages/restore Restores the messages with the IDs specified in the request to their original folders.
Save a draft message PUT api/2.0/mail/drafts/save Saves a message with the ID specified in the request as a draft.
Save a template message PUT api/2.0/mail/templates/save Saves a template message with the ID specified in the request.
Send a message PUT api/2.0/mail/messages/send Sends a message with the ID specified in the request.
Send a message quickly PUT api/2.0/mail/messages/simpleSend Sends a message quickly specifying the sender, recipients, message subject, and message body.
Set a message status PUT api/2.0/mail/messages/mark Sets a status to the messages with the IDs specified in the request.