Email & PEC

Pull back a queued send

Recalls a message BEFORE it leaves — only while it is still queued inside the tenant’s own undo window. Once a message is sending or sent there is no protocol for un-sending it, and this refuses with EMAIL_SEND_ALREADY_STARTED. On success the row goes back to draft, unedited — call email_update_draft to fix it, then email_send again when ready.

Examples

  • Wait, stop that email! POST /api/v1/rest/email/outbox/55555555-6666-4777-8888-999999999999/undo
post/api/v1/rest/email/outbox/{id}/undo

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/email/outbox/{id}/undo
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.