listWhatsappOptOuts
Lists customers who opted out of WhatsApp messages from a specified number, oldest first, with active, lifted, or all opt-outs and optional customer lookup.
Instructions
Who opted out of messages from this number, oldest first. By default it lists active opt-outs only.
(Tags: WhatsApp)
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_id": "<number_id>"
},
"name": "listWhatsappOptOuts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page. | |
| active | No | `true` for active only, `false` for lifted only, `all` for both. | true |
| cursor | No | The `next_cursor` from the previous page. | |
| customer | No | Find one customer by any spelling of their number. | |
| number_id | Yes | Id of a WhatsApp number in your workspace, from [listWhatsappNumbers](/docs/api-reference/whatsapp/listWhatsappNumbers). A number in another workspace answers `404`. |