Reschedule an email
/emails/{id}Moves the send time of an email that has not started sending (scheduled, or queued waiting for the daily limit). A time in the past sends it now. Refused with 409 once it is being sent, sent, failed or cancelled.
Permission: emails:send · on the API key screen: Transactional email → Full access · All permissions
Path parameters
idstringrequiredThe id of the email.
Body parameters
scheduled_atstringrequiredThe new send time: an ISO 8601 date and time WITH its offset, at most 30 days ahead (the email must not have started sending).
At most 40 characters.
Response
objectstringOne of:
emailAt most 2,000 characters.
idstringAt most 2,000 characters.
statusstringOne of:
scheduledqueuedsendingsentfailedcancelledAt most 2,000 characters.
last_eventstring | nullOne of:
sentdelivereddelivery_delayedbouncedcomplainedopenedclickedfailedsuppressedAt most 2,000 characters.
fromstringAt most 400 characters.
tostring[]At most 50 items.
ccstring[]At most 50 items.
bccstring[]At most 50 items.
reply_tostring[]At most 50 items.
subjectstringAt most 998 characters.
template_idstring | nullThe transactional template the email was rendered from (template_id on the send); null when it was sent with its own html / text.
At most 2,000 characters.
tagsobject[]At most 10 items.
Show propertiesHide properties
namestringrequiredLetters, digits, _ and -.
At least 1 characters. At most 64 characters.
valuestringrequiredLetters, digits, _ and -.
At least 1 characters. At most 256 characters.
attachmentsobject[]At most 10 items.
Show propertiesHide properties
filenamestringAt most 255 characters.
content_typestring | nullAt most 127 characters.
sizenumber
suppressedstring[]Recipients that were not sent to because the address is on the account's suppression list (a hard bounce, a complaint or a manual block).
At most 50 items.
errorstring | nullAt most 2,000 characters.
scheduled_atstring | nullAt most 2,000 characters.
sent_atstring | nullAt most 2,000 characters.
created_atstringAt most 2,000 characters.
eventsobject[]What happened to the email, oldest first (GET /emails/{id} only; empty in lists).
At most 200 items.
Show propertiesHide properties
typestringOne of:
sentdelivereddelivery_delayedbouncedcomplainedopenedclickedfailedsuppressedcancelledAt most 2,000 characters.
atstringAt most 2,000 characters.
detailstring | nullAt most 2,000 characters.