Skip to main content
PUT
Assign or replace the rule attached to a campaign

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

UUID of the campaign to assign the rule to.

Body

application/json
rule_uuid
string<uuid>
required

UUID of the rule to attach. Create rules with POST /api/v1/rules. The rule's type ('call'/'text') should generally match the campaign's communication channel — text rules force one-shot semantics, call rules support multi-attempt cadence.

Response

Rule assigned. Response includes a snapshot of the now-attached rule.

success
boolean
Example:

true

message
string
Example:

"Rule assigned to campaign"

data
object