Send email
Create one EmailSend from a saved email template and enqueue delivery.
Documentation Index
Fetch the complete documentation index at: https://segmentflow.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Unified API key for server-side SDK and API integrations
Headers
Required idempotency key. Reusing it with the same request replays the original send; reusing it with a different request returns 409.
1 - 255Body
Exact saved Email Template id to snapshot and render.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Optional primary recipient Profile id. When to.email is absent, the Profile canonical email is used for delivery.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Optional transactional SenderProfile override. Defaults to the template SenderProfile.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Optional sender override. Accepts a bare email or "Name email@example.com" and must match a verified SenderProfile email.
1 - 320Optional reply-to override. Accepts a single bare email or "Name email@example.com" and must use a verified sender domain owned by the organization.
1 - 320Optional final subject override. When omitted, the Template subject is frozen onto the EmailSend.
1 - 998Optional SubscriptionGroup gate. If supplied, the send is skipped when the recipient is not subscribed according to the group's OptIn/OptOut policy.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Recipient identity. This identifies or creates a Profile but does not update durable Profile Properties.
Visible copied recipients. Persisted and handed to the email provider.
1 - 320Hidden copied recipients. Persisted for retry/provider handoff but never returned by public responses.
1 - 320One-send email payload exposed to templates under /data/*.
Per-send tracking preferences.
Response
Default Response
EmailSend id.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Lifecycle status for an EmailSend.
Queued, Processing, Sent, Failed, Skipped Source template id.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Immutable template snapshot rendered for this send.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$SenderProfile used for the send.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Frozen sender envelope used for provider handoff.
Frozen reply-to envelope used for provider handoff.
Frozen subject used for provider handoff.
SubscriptionGroup gate used for the send, if supplied.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Organization-scoped recipient Profile id.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Redacted-safe recipient handle returned by the API.
Visible copied recipients returned for operational visibility.
Underlying Message id after worker processing creates one.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Reason delivery was intentionally skipped before provider send.
ProfileErased, ProfileSuppressed, ProfileUnsubscribed, MissingRecipientEmail, InvalidTemplate, InvalidSenderProfile, SendAdmissionBlocked, RateLimited Reason delivery failed after a send was accepted for processing.
WorkerFailed, ProviderRejected, RenderFailed, Unknown Operational failure message suitable for logs and support.
Send creation timestamp.
Last send update timestamp.

