v1

latestOpenAPI 3.0.12026-07-2491247233.8 KB
Messages

Perform actions on an individual message

Perform actions (trash, restore, quarantine, warning banner, move to spam) on an individual message

post/v0/messages/{id}/actions

Path parameters

idstring uuid required

ID of the message to act on

ID of the message to act on

Request body

action'restore' | 'warning_banner' | 'quarantine' | 'trash' | 'move_to_spam' | 'move_to_graymail' | 'delete_calendar_events'

Action to take on the message group

custom_action_idsstring[]

IDs of actions to perform on the message group

share_with_sublimeboolean

Whether to share the message group & review with Sublime

Response

Accepted

task_idstring uuid required

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