An email's status and each recipient's
GET
https://api.torvathmail.com/v1/emails/{id}Emails can be looked up for 30 days after sending, or 90 on the Business plan.
Path parameters
idstringrequired
Response
idstringrequiredfromstringrequiredtoarray of stringsrequiredccarray of stringsrequiredbccarray of stringsrequiredsubjectstringrequiredmetadataobjectrequiredstring valuescreatedAtintegerrequiredMilliseconds since 1970
statusstringrequiredOne of
queuedsentfailedrecipientsarray of objectsrequiredFields inside recipients
addressstringrequiredstatestringrequiredOne of
queuedsentdeliveredbouncedfailedcategorystringoptionalreasonstringoptionaltitlestringoptionaldiagnosticstring or nulloptionalatintegeroptional
Status codes
200The email401No API key, or it isn't valid or was revoked.unauthorized404Nothing with that id or name.not_foundtemplate_not_found
Refusals share one shape. See errors.
Recipient states
| state | Meaning |
|---|---|
queued | Waiting to be sent. |
sent | Handed to the receiving side. |
delivered | Accepted by the recipient's mail server. |
bounced | Refused by the recipient's server. category, reason, title and diagnostic say why. |
failed | Couldn't be sent after every retry. |