Send a draft
Changed onSends the draft through the standard send pipeline — the same domain resolution, suppression, reputation, daily-quota, persistence and Detail Record behaviour as POST /v2/email_messages. The response body is the created email message.
If the draft has no explicit from_email, the inbox address is used.
The draft is marked sent only after the send is accepted; a send rejected for suppression, quota or reputation leaves the draft editable so it can be fixed and retried. A draft that is already sent returns 422 rather than sending twice.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/email_inboxes/{inbox_id}/drafts/{draft_id}/send
- Auth: HTTP bearer
Path parameters
Email inbox UUID.
Email draft UUID.
Response
The draft was accepted for delivery. Returns the created email message.
Example response
{
"data": {
"recipient_statuses": {
"delivered": 998,
"bounced": 2
}
}
}Changes
- warning
added the new
expiredenum value to the///response property for the response status - warning
added the new
gw_rejectenum value to the///response property for the response status - warning
added the new
injection_timeoutenum value to the///response property for the response status - warning
added the new
quarantine_expiredenum value to the///response property for the response status - warning
added the new
quarantine_rejectedenum value to the///response property for the response status - warning
added the new
quarantine_release_dispatchedenum value to the///response property for the response status - warning
added the new
quarantine_releasedenum value to the///response property for the response status - warning
added the new
quarantinedenum value to the///response property for the response status - warning
added the new
scan_deferredenum value to the///response property for the response status - warning
added the new
suppressedenum value to the///response property for the response status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- warning
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status
- breaking