Enable a ruleset
POST
Enable a ruleset
Sets the ruleset status to LIVE, allowing it to be triggered and executed. If the ruleset is already LIVE, no changes are made. An enabled ruleset will automatically execute its actions when its trigger conditions and filters are met.
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.
Response
Ruleset enabled 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
Maximum string length:
50Example:
"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")
Maximum string length:
250Example:
"2 hours"
Enable a ruleset