Update a rules-of-engagement policy
Changes a policy; rules and outcome_rules each replace the whole list when sent.
Send only the fields to change. When you send rules or outcome_rules, include every rule you want to keep, with its id, so the history that refers to it stays attached.
Rules are validated as on create, and a failure returns 400 with errors. The change applies to every sequence that runs under the policy, including all sequences on the default, at their next enrollment or step check, within about a minute. Preview rule changes first.
Only the team owner or an admin can change policies. Renaming to a name already used on the team returns 409. Acts as user_id. Counts against the Sequencer writes rate limit.
Good to know
- The change applies to every sequence running under the policy, including all sequences on the team default, within about a minute. Preview rule changes first with Preview a draft rule set.
- Only the team owner or an admin can change policies.
- Invalid rules return 400 with every problem listed in
errors. Renaming to a name already used on the team returns 409.
Authorizations
Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.
Path Parameters
24-character policy id.
Body
The team member making the change. Must be an active member of the team, and the team owner or an admin.
Unique on the team. Must not be empty.
1202000Replaces every scenario. Send the full list, keeping each rule's id. Up to 100.
100Replaces every reaction. Send the full list, keeping each rule's id. Up to 50.
50Whole hours, 1 to 168. How old a contact's stored CRM data may be before a CRM-backed rule refreshes it.
1 <= x <= 168Response
The updated policy.
A rules-of-engagement policy.
24-character hexadecimal id.
"507f1f77bcf86cd799439011"
Team id.
Unique on the team.
The policy every sequence that names none of its own runs under. Exactly one per team.
How old a contact's stored CRM data may be, in hours, before a CRM-backed rule refreshes it.
Scenarios, in evaluation order.
Reactions.
Only on GET /v2/sequencer/policies: sequences running under this policy. The default also counts every sequence that names no policy.
Who created it. Absent on the default policy the team started with.
Who changed it last.