Docs

Get Email Summary

POST /inboxes/{inboxId}/emails/{emailId}/summary

POST/inboxes/{inboxId}/emails/{emailId}/summary

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Generates an AI-powered plain-text summary of an email's content. If a summary has already been generated for this email, the cached result is returned immediately without calling the AI service again.

The summary is persisted on the email record and will appear in the aiSummary field of subsequent Get Email responses.

Requires EventCommunicationsRead permission on the event.

Path Parameters

FieldTypeRequiredDescription
inboxIdGuidRequiredThe event ID (inbox ID equals event ID).
emailIdGuidRequiredThe ID of the email to summarize.

Response

Returns a plain-text string containing the AI-generated summary of the email body.