Estimate when an email would leave
GET /email_senders/{senderUuid}/send_estimate
/email_senders/{senderUuid}/send_estimateSays when a send requested now from a mailbox would leave, taking into account its limits (12 per hour, 200 per day) and, for separate emails, the five minutes between them. It is an estimate: the real time is fixed when you send and can move if others send at the same time.
When to use: Before send_email_batch, to tell the user how long a batch will take, or before any send to warn of a delay.
When not to use: It reserves nothing and sends nothing. For the real release time of an existing send, read release_at with get_email_send.
Filters: - count (required): number of recipients, 1 to 500 (2 to 50 with separate=true). A single email with many recipients counts as one: it is estimated as 1.
separate:trueto estimate separate emails (a batch).
Permissions: Requires a CRM seat and the crm.contacts_companies.write capability. The sender must be a mailbox the user can send from: one of their own or one shared with them.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the mailbox (list_email_senders).
uuidQuery Parameters
Number of recipients.
1 <= value <= 500true to estimate separate emails.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/email_senders/3a9e1f56-0000-4000-8000-6c474d08b1a7/send_estimate?count=20&separate=true" \ -H "X-Auth-Token: YOUR_API_KEY"{ "sender_uuid": "6fd60e87-ecde-4069-8fdb-aebbacafea6d", "count": 0, "separate": true, "first_at": "2019-08-24T14:15:22Z", "last_at": "2019-08-24T14:15:22Z", "reason": "separate", "immediate": true}