v1

latestOpenAPI 3.0.12026-07-2491247233.8 KB
Messages

Restore a previously-trashed message

Restore a previously-trashed message. "For an Office 365 message source, the message will be put back in the folder it was in before. For a Google Workspace message source, any applied labels (e.g. "Trash") will be removed from the message."

post/v0/messages/{id}/restore

Path parameters

idstring uuid required

ID of the message to restore

ID of the message to restore

Response

Accepted

task_idstring uuid required

Task ID. Use the /v0/tasks/:id endpoint to check the task status.