List opt-outs
list_opt_outsRetrieve phone numbers that opted out of messages from your account, newest first, showing channel, reason, and source. Paginate results with limit and offset.
Instructions
List the numbers that opted out of messages from this account, newest first (GET /api/v1/sms/opt-outs): phoneNumber, channel, reason, source (inbound = a STOP keyword reply, manual = added through the API or console) and syncedToProvider. Page with limit (default 20, max 100) and offset; the end is reached when a page returns fewer than limit (there is no total). To test one number use check_opt_out; to block or unblock use add_opt_out or remove_opt_out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1-100 (default 20). | |
| offset | No | Number of entries to skip before the page starts (default 0). Add the page size to it for the next page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success; false when the result is an error (then error, message and retryable are set). | |
| count | No | Entries on this page. | |
| opt_outs | No | Entries on this page, newest first: id, phoneNumber, channel, reason, source (inbound or manual), syncedToProvider, createdAt. |