Release a queued batch now
PUT /email_batches/{uuid}/actions/send_now
/email_batches/{uuid}/actions/send_nowBrings the whole batch forward: the first email still queued is released now and the others move forward by the same amount, keeping their spacing. Mailbox limits still apply.
When to use: When the user asks to send a queued batch right away. It reaches many people and skips the undo, so confirm with the user.
When not to use: For one email, use send_queued_email_now. To create a batch, use send_email_batch.
Side effects: Emails are released asynchronously by background jobs, still five minutes apart. Repeating the call while the first queued email is already due does not move the others again.
Permissions: Requires a CRM seat and the crm.contacts_companies.write capability. Only the author can do it.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the batch.
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.easymailing.com/email_batches/3a9e1f55-0000-4000-8000-6c474d08b1a6/actions/send_now" \ -H "X-Auth-Token: YOUR_API_KEY"{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "release_at": "2019-08-24T14:15:22Z", "cancellable": true, "sends": [ {} ]}