Permanently deletes an email. No soft-delete; the row is removed.
AuthorizationRequiredBearer <token>API key as Bearer token
In: header
idRequiredstringEmail id, discoverable via list_emails
Update Email
Updates an email's fields. Only provided fields change. The content field accepted depends on the email's format: an email that renders a Page accepts `page_id`; an email that renders embedded structured content accepts `viewport_data`. Emails in the content_blocks format cannot be edited through this API. If recipient_emails is supplied, typo-domain addresses are stripped.
Send Email
Sends an email through Sparkpost immediately. Stamps date_sent + sent=true on the persisted document. Seamless flow: call with just `id` once the draft has subject, recipients, viewport_data, and reply_to_email set. The server pulls those fields from the persisted doc and renders viewport_data to HTML server-side if no body is already rendered. Only pass fields other than `id` when you explicitly need to override the persisted values for this one send.