Numbers

List the connected accounts this key may use

gethttps://api.whatsable.app/v1/channel-accounts
Build a request to copy

This page never sends a request. Fill in the fields, then copy the request and run it from your server.

Request
curl -X GET 'https://api.whatsable.app/v1/channel-accounts'

Lists the connected accounts this key may use, on every channel: WhatsApp numbers first (the primary, then the oldest), then Instagram accounts and Facebook Pages by when they connected. Every account comes in one page. A conversation and a message name theirs as channel_account_id.

Authorization

bearerAuth
headerAuthorizationBearer <nfy_live_<32 characters>>

An API key from Settings > API keys, sent as Authorization: Bearer <key>.

Query Parameters

channel?string

Only accounts on this channel. Absent or all: every channel.

Value in"whatsapp""instagram""messenger""tiktok""all"

Response Body

Every account this key may use, in one page.

application/json
  1. response
object*string
data*array<>
has_more*boolean

True when another page follows this one.

next_cursor*|

Pass as cursor to read the next page. Null on the last page. Valid for 24 hours.

Example Request
curl -X GET 'https://api.whatsable.app/v1/channel-accounts'
Example Response
{  "object": "list",  "data": [    {      "object": "channel_account",      "id": "cm2v8ca1a00002qz8h6e7f8g9h",      "channel": "instagram",      "number_id": null,      "handle": "acme.store",      "name": null,      "status": "active",      "is_default_for_key": false    }  ],  "has_more": true,  "next_cursor": "string"}