Last updated 7 months ago
Was this helpful?
Rule ID
GET /workspaces/{workspaceId}/inbox/automation/rules/{automationRuleId} HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
OK
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "description": "text", "categoryId": "123e4567-e89b-12d3-a456-426614174000", "trigger": "feedItemCreated", "triggerArguments": { "ANY_ADDITIONAL_PROPERTY": "anything" }, "orderPosition": 1, "enabled": true, "conditions": { "all": [ { "name": "text", "value": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ] }, "actions": [ { "name": "text", "value": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ], "createdAt": "2025-05-12T21:48:18.014Z", "updatedAt": "2025-05-12T21:48:18.014Z" }
DELETE /workspaces/{workspaceId}/inbox/automation/rules/{automationRuleId} HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
No content
GET /workspaces/{workspaceId}/inbox/automation/categories HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
{ "results": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "orderPosition": 1, "createdAt": "2025-05-12T21:48:18.014Z", "updatedAt": "2025-05-12T21:48:18.014Z" } ] }
DELETE /workspaces/{workspaceId}/inbox/automation/categories/{categoryId} HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
GET /workspaces/{workspaceId}/inbox/automation/new-item-reply HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
{ "projectId": "123e4567-e89b-12d3-a456-426614174000" }
Rule trigger
feedItemCreated
feedItemUpdated
messageReceived
messageSend
agentStatusUpdated
rootItemClosed
slaWarning
slaBreached
requiredSkillsUpdated
tagsAdded
tagsRemoved
noNewMessagesFor
Rule enabled state
GET /workspaces/{workspaceId}/inbox/automation/rules HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
{ "results": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "description": "text", "categoryId": "123e4567-e89b-12d3-a456-426614174000", "trigger": "feedItemCreated", "triggerArguments": { "ANY_ADDITIONAL_PROPERTY": "anything" }, "orderPosition": 1, "enabled": true, "conditions": { "all": [ { "name": "text", "value": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ] }, "actions": [ { "name": "text", "value": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ], "createdAt": "2025-05-12T21:48:18.014Z", "updatedAt": "2025-05-12T21:48:18.014Z" } ] }
POST /workspaces/{workspaceId}/inbox/automation/rules HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 350 { "name": "text", "description": "text", "enabled": true, "categoryId": "123e4567-e89b-12d3-a456-426614174000", "trigger": "feedItemCreated", "triggerArguments": { "ANY_ADDITIONAL_PROPERTY": "anything" }, "conditions": { "all": [ { "name": "text", "value": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ] }, "actions": [ { "name": "text", "value": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ] }
PATCH /workspaces/{workspaceId}/inbox/automation/rules/reorder HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 165 { "trigger": "feedItemCreated", "rules": [ { "ruleId": "123e4567-e89b-12d3-a456-426614174000", "newCategoryId": "123e4567-e89b-12d3-a456-426614174000", "newOrderPosition": 1 } ] }
PATCH /workspaces/{workspaceId}/inbox/automation/rules/{automationRuleId} HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 350 { "name": "text", "description": "text", "enabled": true, "trigger": "feedItemCreated", "triggerArguments": { "ANY_ADDITIONAL_PROPERTY": "anything" }, "categoryId": "123e4567-e89b-12d3-a456-426614174000", "conditions": { "all": [ { "name": "text", "value": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ] }, "actions": [ { "name": "text", "value": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ] }
POST /workspaces/{workspaceId}/inbox/automation/categories HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 15 { "name": "text" }
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "orderPosition": 1, "createdAt": "2025-05-12T21:48:18.014Z", "updatedAt": "2025-05-12T21:48:18.014Z" }
PATCH /workspaces/{workspaceId}/inbox/automation/categories/reorder HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 91 { "categories": [ { "categoryId": "123e4567-e89b-12d3-a456-426614174000", "newOrderPosition": 1 } ] }
PATCH /workspaces/{workspaceId}/inbox/automation/categories/{categoryId} HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 15 { "name": "text" }
PUT /workspaces/{workspaceId}/inbox/automation/new-item-reply HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 52 { "projectId": "123e4567-e89b-12d3-a456-426614174000" }