API
POST/api/identities/{handle}/messages/send
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

handle*string

Header-Parameter

Idempotency-Key?string

Ermöglicht sicheres Wiederholen: Je Schlüssel und Identity wird höchstens eine Mail versendet. Derselbe Schlüssel mit demselben Anfrageinhalt liefert innerhalb von 24 Stunden 202 und die ursprüngliche message_id, ohne neuen Versand, Verbrauch oder Event. Derselbe Schlüssel mit anderem Inhalt ergibt idempotency_key_reused (422), während laufender Einlieferung idempotency_key_in_progress (409). Wurde der Versand durch Richtlinien oder Mailserver abgelehnt oder hat ein Fehler nachweislich keinen Server erreicht, bleibt der Schlüssel frei. Dieselbe Anfrage kann dann nach Behebung einmal versenden. Nutze je beabsichtigter Mail einen neuen Schlüssel, etwa eine UUID, und für alle Wiederholungen denselben.

Länge1 <= length <= 255

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

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}
GET/api/identities/{handle}/ai-disclosure
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

handle*string

Antwortinhalt

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"}
PUT/api/identities/{handle}/ai-disclosure
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

handle*string

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

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"}
GET/api/identities/{handle}/mail
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

handle*string

Antwortinhalt

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}
PATCH/api/identities/{handle}/mail
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

handle*string

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

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}