List opted-out numbers

Numbers on the Opt-Out List.

MCP tool clicksend_read → list_opt_outs

read

Returns the numbers on your Opt-Out List, 50 to a page; pass next_cursor back as cursor for the next page. Recipients land on this list when they reply STOP to an SMS campaign or click its unsubscribe link, and you can add numbers yourself. Being on this list does not remove a number from your other contact lists.

Parameters

Parameters: list_opt_outs
NameTypeDescription
query string string Part of a phone number.
cursor string string Next page cursor from the previous call.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "clicksend_read",
    "arguments": {
      "operation": "list_opt_outs",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "opt_outs": [
      {
        "phone_number": "+447700900142"
      },
      {
        "phone_number": "+15550100234"
      }
    ],
    "next_cursor": null
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.