MCP is live.Set upAsk the community
OmniDimension
WhatsApp

List opt-outs

Who opted out of messages from this number, oldest first. By default it lists active opt-outs only.

Set up WhatsApp first. Connect a WhatsApp number in the dashboard or with Connect numbers. Included on every paid plan. See plans.

GET/whatsapp/numbers//opt_outs
Path parameters
number_idrequired
Query parameters
activestring · enum

true for active only, false for lifted only, all for both.

customerstring

Find one customer by any spelling of their number.

limitinteger

Rows per page.

cursorstring

The next_cursor from the previous page.

curl -X GET 'https://backend.omnidim.io/api/v1/whatsapp/numbers/{number_id}/opt_outs?active=true&limit=20' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Example response
synthetic
{
  "data": [
    {
      "id": 0,
      "phone_number_id": 0,
      "customer": "+15551234567",
      "source": "instructed_keyword",
      "active": false,
      "opted_out_at": "string",
      "opted_in_at": "string",
      "note": "string"
    }
  ],
  "has_more": false,
  "next_cursor": "string"
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Path Parameters

number_id*integer

Id of a WhatsApp number in your workspace, from listWhatsappNumbers. A number in another workspace answers 404.

Query Parameters

active?string

true for active only, false for lifted only, all for both.

Default"true"
Value intruefalse"all"
customer?string

Find one customer by any spelling of their number.

limit?integer

Rows per page.

Range1 <= value <= 100
Default20
cursor?string

The next_cursor from the previous page.

Response body

application/json

Response Body

One page of opt-outs.

application/json
data?
has_more?boolean
next_cursor?string