Confirm the company may text its clients (after your person confirms)
confirm_campaign_text_consentWhen a campaign would email people because Sergio has no permission to text them, your person can confirm once, for the whole company, that it has permission to text its clients. First call without confirm_token: nothing changes; you get the exact line and how many people it adds, and a confirm_token. Show your person the line word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token. Anyone who replied STOP is never texted. An owner-level change: Sergio tells the owner after it is made.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "confirm_campaign_text_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. | |
| campaign_id | Yes | ||
| confirm_token | No | From the preview, after your person said yes. Leave it out to get the preview. | |
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |