WoyraDocs
Get an API key

Call back a message sent for later

POST/v1/mail/messages/{id}/cancel-send

Mailboxes · Requires an API key

Before it leaves: every delivery comes out of the queue, the copy leaves Sent, and its place in the day's sending limit is given back. The message is returned, so the app can reopen it as a draft; files must be attached again.

Parameters

NameInDescription
idrequiredpath
mailboxqueryThe token's own mailbox. Any other address is refused with 403.

Example

curl -X POST https://api.woyra.io/v1/mail/messages/email_01J.../cancel-send \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 The message as it was, with its body.

Errors

StatusCodes
400invalid_request, unsupported_version
401authentication_required, invalid_api_key
404not_found, product_not_offered

Also in Mailboxes