Add to do-not-contact list
stack_add_opt_outAdd a number to the customer's do-not-contact list, so texts and calls from every agent of the customer to it are refused (RECIPIENT_OPTED_OUT). The owner, an admin and the customer's agents may add; only the owner or an admin removes an entry (stack_remove_opt_out). A number already listed is returned as it is. Returns the entry: id (aoo_*), number, texts_blocked, calls_blocked, source (customer when added here) and created_at.
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": {
"number": "<number>"
},
"name": "stack_add_opt_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The number to add, in E.164 form (for example +14155550123) |