Email & PEC
Write a draft (does not send)
Creates an UNSENT draft in the outbox. Nothing leaves the building: sending is a separate tool with a separate permission, and a credential may well have this one and not that one. Use reply_to_message_id so the reply threads correctly. Tell the user the draft is saved unsent and where to find it.
post/api/v1/rest/email/outbox
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/email/outbox
- Auth: HTTP bearer
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.
Request body
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.