Agents

Create an automation rule at the end of the run order

Use an explicitly scoped user-bound account bearer credential or an application session. Scope grants are intersected with live membership, role, tenant isolation, agent access and plan limits; a credential does not grant an owner role. Invitation acceptance requires the verified recipient email.

post/workspaces/{workspaceId}/agents/{agentId}/support/rules

Request

  • Base URL: https://app.communicate.so/api/v1
  • URL: https://app.communicate.so/api/v1/workspaces/{workspaceId}/agents/{agentId}/support/rules
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Secure-better-auth.session_token
    • API key in cookie better-auth.session_token

Path parameters

workspaceIdstring required
agentIdstring required

Request body

namestring required
trigger'conversation_created' | 'message_received' required
enabledboolean

Response

Create an automation rule at the end of the run order

idstring required
workspaceIdstring required
agentIdstring required
namestring required
trigger'conversation_created' | 'message_received' required
enabledboolean required
positioninteger required
createdAtstring date-time required
updatedAtstring date-time required
firesThisWeek0 required

Changes

No recorded changes to this operation across all 1 revision of this API.