/api/identities/{handle}/messages/sendAuthorization
api_key An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.
In: header
Path Parameters
Header Parameters
Makes the send safe to retry: at most one mail goes out per key and Identity. A repeat with the same key and the same body within 24 hours answers 202 with the first send's message_id and sends, meters and announces nothing; the same key with another body is refused with idempotency_key_reused (422), and a repeat while the first is still being submitted with idempotency_key_in_progress (409). A send that was refused (by the policy point, the mail server, or a failure that provably reached no server) leaves the key free, so the same request with the same key sends once the cause is gone. Use a fresh key, a UUID for instance, for every mail you mean to send, and the same key for every retry of it.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://api.tigby.eu/api/identities/string/messages/send" \ -H "Content-Type: application/json" \ -d '{ "to": null, "cc": null, "bcc": null, "subject": null, "text": null, "html": null, "in_reply_to": null, "references": null }'{ "message_id": "string", "recipients": [ "string" ], "disclosure": true}/api/identities/{handle}/ai-disclosureAuthorization
api_key An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.
In: header
Path Parameters
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.tigby.eu/api/identities/string/ai-disclosure"{ "enabled": true, "footer": "string", "warning": "string"}/api/identities/{handle}/ai-disclosureAuthorization
api_key An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.tigby.eu/api/identities/string/ai-disclosure" \ -H "Content-Type: application/json" \ -d '{ "enabled": null, "acknowledge_warning": null }'{ "enabled": true, "footer": "string", "warning": "string"}/api/identities/{handle}/mailAuthorization
api_key An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.
In: header
Path Parameters
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.tigby.eu/api/identities/string/mail"{ "paused": true, "paused_at": null}/api/identities/{handle}/mailAuthorization
api_key An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://api.tigby.eu/api/identities/string/mail" \ -H "Content-Type: application/json" \ -d '{ "paused": null }'{ "paused": true, "paused_at": null}