Skip to navigation

Get Gmail Trigger Event

Retrieve one delivery event in full, including the message metadata as received and the run it started.

GmailTriggerEventDetailResponse is the list shape plus mapped_input: the input the trigger handed to its target, which is null unless the trigger declares a payload_mapping.

Authentication

AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

OR
AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

Path parameters

org_idstringRequiredformat: "uuid"
The organization ID
project_idstringRequiredformat: "uuid"
The project ID
trigger_idstringRequiredformat: "uuid"
event_idstringRequiredformat: "uuid"

Response

Gmail trigger event details retrieved successfully
idstringformat: "uuid"
gmail_inbox_trigger_idstringformat: "uuid"
gmail_message_idstring
history_idstring
email_addressstring
statusenum
received_atstring
gmail_notification_idstring or nullOptionalformat: "uuid"
gmail_thread_idstring or nullOptional
error_codestring or nullOptional
error_messagestring or nullOptional
task_run_idstring or nullOptionalformat: "uuid"
task_agent_run_idstring or nullOptionalformat: "uuid"
processing_started_atstring or nullOptional
completed_atstring or nullOptional
mapped_inputmap from strings to any or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error