Internal service endpoint that runs a workflow against an inbound SendGrid email payload. Authenticated via the INTERNAL_SERVICE_TOKEN bearer (not user auth). Validates the email payload (from / to / subject required) and rejects unauthorized requests with 403.
Documentation Index
Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt
Use this file to discover all available pages before exploring further.
Internal service payload forwarded by an inbound-email adapter (e.g. services/sendgrid-inbound). The workflow is run against the supplied email under the specified organization.
Owning organization for the run — must match the workflow's organizationId.
Parsed inbound email payload. Either supply the flat fields (from/to/subject/…) or a nested email object — from, to, and subject are required.
Optional User _id to attribute the run to. Falls back to the workflow's creator when omitted.