Get Started
Portal api methods
Help

messages

Name Resource Description
Add attachment POST api/2.0/mail/messages/attachment/add Add attachment to draft
Add calendar body POST api/2.0/mail/messages/calendarbody/add Add attachment to draft
Attach Teamlab document POST api/2.0/mail/messages/{id}/document Attaches Teamlab document to the specified message
Delete attachment from message DELETE api/2.0/mail/messages/{messageid}/attachments/{attachmentid} Deletes the selected attachment from the message with the ID specified in the request
Export attachment to documents PUT api/2.0/mail/messages/attachment/export Export attachment to MyDocuments
Export attachments to documents PUT api/2.0/mail/messages/attachments/export Export all message's attachments to MyDocuments
Export message to crm PUT api/2.0/mail/messages/crm/export Export mail to CRM relations history for some entities
Get filtered messages GET api/2.0/mail/messages Returns the filtered messages in case there were changes since last check date
Get message GET api/2.0/mail/messages/{id} Returns the detailed information about message with the ID specified in the request
Get message template GET api/2.0/mail/messages/template Returns the message template. Message teplate - empty message JSON.
Get previous or next message id GET api/2.0/mail/messages/{id}/{direction} Get previous or next message id. U
Move message to folder PUT api/2.0/mail/messages/move Moves the messages to the specified folder
Remove messages PUT api/2.0/mail/messages/remove Removes the selected messages
Restore messages to original folders PUT api/2.0/mail/messages/restore Restores the messages to their original folders
SaveToDraft message PUT api/2.0/mail/messages/save Saves the message with the ID specified in the request
Send message PUT api/2.0/mail/messages/send Sends the message with the ID specified in the request
Set message status PUT api/2.0/mail/messages/mark Sets the status for messages specified by ids.