Email & PEC
List drafts and the send log
Every outbox row — drafts, queued, sending, sent and failed — newest first. Filter by mailbox or by status. Returns summaries only; use email_get_outbox for one row’s full body and recipients. At most 100 per call.
Examples
- What’s still in drafts? GET /api/v1/rest/email/outbox?status=draft
- Did that PEC actually fail to send? GET /api/v1/rest/email/outbox?status=failed
get/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
Query parameters
account_idstring uuid
One mailbox. Omit for all you may see.
status'draft' | 'queued' | 'sending' | 'sent' | 'failed'
limitinteger
Rows to return, 1–100. Default 20.
cursorstring
Opaque cursor from a previous call’s nextCursor, to continue.
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.