Email sends
Get an email send
GET /email_sends/{uuid}
GET
/email_sends/{uuid}Returns the state of one email sent from the CRM: whether it is still queued, leaving, sent, failed, unconfirmed or cancelled, when it leaves, and who it goes to.
When to use: To check whether an email has already gone out after send_email or schedule_email, or why it failed.
When not to use: To list several, use list_email_sends or list_sent_emails. The body of the email is not returned here.
Permissions: Requires a CRM seat and the crm.contacts_companies.read capability. Only the author of the send can read it.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
uuid*string
UUID of the send.
Format
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/email_sends/3a9e1f54-0000-4000-8000-6c474d08b1a5" \ -H "X-Auth-Token: YOUR_API_KEY"{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "state": "queued", "failure_reason": "rejected", "release_at": "2019-08-24T14:15:22Z", "scheduled_at": "2019-08-24T14:15:22Z", "sender_uuid": "6fd60e87-ecde-4069-8fdb-aebbacafea6d", "sender_address": "user@example.com", "contact": "/entity/1", "record": "/entity/1", "record_type": "contact", "record_name": "string", "mode": "compose", "subject": "string", "to": [ "string" ], "cc": [ "string" ], "bcc": [ "string" ], "recipients": [ {} ], "batch": "/entity/1", "created_at": "2019-08-24T14:15:22Z", "sent_at": "2019-08-24T14:15:22Z", "failed_at": "2019-08-24T14:15:22Z", "canceled_at": "2019-08-24T14:15:22Z", "cancellable": true, "retryable": true, "copy_visible": true}