CRM automation

Получить запуски автоматизации

Changed on

Возвращает запуски автоматизации CRM.

get/api/v1/crm/automation/runs

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Query parameters

rule_id, string uuid

Ограничить одним правилом

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Запуски правил

CRMAutomationRun[] required
id, string uuid required
rule_id, string uuid required
event_id, string uuid required
rule_name, string

Имя правила — журнал отвечает, что сработало

event_type, string

Событие, вызвавшее запуск

entity_type, string

lead или deal — по какой записи был запуск

entity_id, string uuid
status, 'queued' | 'running' | 'success' | 'failed' | 'skipped' required
attempts, integer required
action_errors, string[] nullable required
created_at, string date-time required
updated_at, string date-time required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    3 more changes in this revision