latestOpenAPI 3.1.02026-08-223321,1001.6 MB

2134ebffd1ef

trigger-rules

Update Trigger Rule

patch/trigger-rules/{trigger_rule_id}

Path parameters

trigger_rule_idstring required

Request body

trigger_condition_type'MESSAGE_DATA' | 'CHANNEL_JOIN'

The type of condition for a self-serve trigger.

context_source'CHANNEL_TOPIC' | 'CHANNEL_PURPOSE' | 'MESSAGE_CONTENT' | 'MESSAGE_THREAD_CONTENT' | 'ALL'
channel_idstring nullable

Omit to leave unchanged.

resident_agent_template_idstring nullable

Template to point this rule at. Omit to leave unchanged. Detach by managing the attachment set on the template instead.

Response

Successful Response

idstring required
organization_idstring nullable required
integration_idstring nullable required
trigger_condition_typestring required
context_sourcestring required
channel_idstring required
resident_agent_template_idstring nullable required
created_atstring date-time required
created_by_user_uuidstring required