Email & PEC
Send a draft
Sends a draft that already exists. IRREVERSIBLE: a sent message cannot be recalled, and a PEC is a legal instrument with a delivery receipt. Always show the user the recipients, the subject and the body and get an explicit yes before calling this. Only a draft (or a previously failed send) can be sent.
Examples
- Yes, send it POST /api/v1/rest/email/outbox/55555555-6666-4777-8888-999999999999/send
post/api/v1/rest/email/outbox/{id}/send
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/email/outbox/{id}/send
- Auth: HTTP bearer
Path parameters
idstring uuid required
The draft id returned by email_draft.
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.
Changes
No recorded changes to this operation across all 1 revision of this API.