Skip to main content
GET
List Instances
Auth: TokenAccount or TokenInstanceRate-limit: Global (100/min) • Idempotent: yes

Description

Each returned item includes the current status, connection state, profile data, and a summary of integrations (webhook, websocket, chatwoot, proxy, settings, s3). This is the recommended way to inspect the state of an instance. The result depends on the token type:
  • TokenAccount, returns all instances of your account. Accepts the ?instanceName= filter.
  • TokenInstance, returns only the instance that owns the token (filter is ignored).

Examples

List all instances of the account

Without a filter and using the TokenAccount, returns every instance visible to the account with status, profile, and integration summary for each.
Passing ?instanceName=my-instance, returns only that instance, or 404 if it doesn’t exist. Cheapest way to poll the connection state after calling /connect.

Filter several

Accepts multiple names separated by comma in ?instanceName=sales,support. Non-existent names are ignored silently, only returns 404 when the filter has a single name and it doesn’t exist.

View own instance data

Using the TokenInstance, any filter is ignored and the response brings only the instance that owns the token. Typical scenario for clients that only know the instance token and want to inspect their own state.

Success response

200 OK
The message field varies: "1 Instance found" when the total is 1, and "<N> Instances found" for other values.

Headers

string
required
TokenAccount or TokenInstance.

Query parameters

string
Filters by name. Accepts one or more names separated by comma (e.g., ?instanceName=sales,support). Only works with TokenAccount.

Response fields

connection

profile

Integrations

  • webhook, default webhook (label default). enabled: false means no webhook.
  • websocket, { enabled, events, mediaBase64 }. enabled: false means WebSocket is off for the instance.
  • chatwoot, { enabled, status, bridgeIntegrationId, baseUrl, accountId, inboxName, apiToken, signMessages, ignoreGroups, startAsPending, reopenResolved }. enabled: false means no Chatwoot integration is on (or the Chatwoot module is not enabled on the server). The apiToken comes in plaintext (the same intentional exposure as in GET /api/chatwoot/list/:instance), treat it as sensitive, and it only appears when there is an integration. The four flags are always returned as true/false (instances without Chatwoot report all of them false alongside enabled: false).
  • proxy, individual proxy (does not include the deploy global one).
  • settings, behavior flags (see Update settings).
  • s3, individual S3 storage config.

Filter rules

Errors

Next

Create new instance

Provisions one more in your account, already with webhook, websocket, and chatwoot configured inline if you want.

Connect to WhatsApp

Generate the QR code or pairing code to link the number.