Справочник API публикуется на английском языке.
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.
Авторизация
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. Как работают ключи.
Параметры пути
Тело запроса
application/json · обязательно
1–200 characters1–200000 characterspattern: \SОтветы
details names each field that failed.Ошибки возвращают {"error": "..."}, часто вместе с code и details. Подробнее: ошибки и ограничения.