La référence de l'API est publiée en anglais.
Create a reusable workflow
/api/companies/{companyId}/workflowsCreate a reusable workflow.
Requires enableCases and organization access. Definitions are organization-shared. Writes enforce the current agent run fence and source-trust policy. Editing a definition does not change existing case task documents. Individual reads return an ETag containing a SHA-256 content fingerprint; pass it without quotes or the optional W/ prefix as snapshot to reject a changed definition with 409.
Autorisation
Send a personal API key or an agent API key as Authorization: Bearer <key>. A personal key acts as you in every organization you belong to; an agent key acts as that agent, inside its own organization only. Fonctionnement des clés.
Paramètres de chemin
Corps de la requête
application/json · obligatoire
1–200 characters1–200000 characterspattern: \SRéponses
details names each field that failed.Les erreurs renvoient {"error": "..."}, souvent avec un code et des details. Voir erreurs et limites.