Update a ruleset
Authorizations
Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.
Authentication to the API is performed by using the HTTP Header X-API-Key.
Body
Event that triggers this rule (optional). Must be one of: messages.new_conversation, messages.incoming, messages.response, messages.disable_ai, messages.delivery_failure, messages.spam, messages.note, status.closed, status.opened, status.snoozed, teammates.assigned, teammate.mentioned, time.unanswered_by_client, time.unanswered_by_team, tickets.ticket_done
50"messages.response"
Response
Ruleset updated successfully.
Event that triggers this rule. Accepted triggers:
- messages.new_conversation
- messages.incoming
- messages.response
- messages.delivery_failure
- messages.spam
- messages.note
- messages.disable_ai
- status.closed
- status.opened
- status.snoozed
- teammates.assigned
- teammate.mentioned
- time.unanswered_by_client
- time.unanswered_by_team
- tickets.ticket_done
50"messages.incoming"
Additional data for the trigger (required for certain triggers):
- For "teammates.assigned" or "teammate.mentioned": "no_one", "anyone", or an Agent ID
- For "time.*" triggers: duration and period in format "{duration} {period}" (e.g., "2 hours", "3 days")
250"2 hours"