RuleExecutions

On-demand Rule execution

Changed on

Resolves the given configuration, rule, and conversation, derives the memoryStoreId from the conversation's configuration. Then executes the rule on the conversation. Optionally, rule.operators[] can be provided to override specific operator parameters for this execution only; the stored rule configuration is not modified.

post/v3/RuleExecutions

Request

  • Base URL
    https://intelligence.twilio.com
  • URL
    https://intelligence.twilio.com/v3/RuleExecutions
  • Auth
    HTTP basic

Request body

intelligenceConfigurationIdstring required

Unique identifier for a Intelligence Configuration that generated the Operator Result. Assigned by Twilio (TTID).

ruleIdstring required

Unique identifier of the rule of the Intelligence Configuration that triggered the result. Assigned by Twilio (TTID).

conversationIdstring required

The id of the Conversation attached to the Operator Result.

Example request

{
  "intelligenceConfigurationId": "intelligence_configuration_01k6fc25s7epm9qtk8rszbv3q5",
  "ruleId": "intelligence_configurationrule_01k6fc25s7epm9qtk8rszbv3q6",
  "conversationId": "conv_conversation_01k1etk2y5f1y9fpe2epfdtvv2"
}

Response

Rule execution queued.

Changes