Connections
A connection is a WhatsApp number connected to your workspace. You get its Vendrix id, its status and its quality rating, never a Meta token.
These examples use a placeholder address. Your console shows the exact address of the API for your workspace.
GET /connections
Lists the WhatsApp connections of the workspace, newest first.
- A sandbox key returns the two fixed sandbox connections.
- Required scope
connections.read- HTTP
- Success: HTTP 200
Parameters
| Name | Description |
|---|---|
limitinteger (1 to 100, default 20) | Page size, 1 to 100. Default 20. |
cursorstring | The next_cursor of the previous page. See pagination. |
statusstring | Only connections with this status: active, disconnected or pending. |
Errors
Any authenticated endpoint can also return the authentication, scope and rate limit errors listed on the errors page.
GET /connections/{id}
Returns one connection, or 404 not_found if it does not exist or belongs to another workspace.
- Required scope
connections.read- HTTP
- Success: HTTP 200
Parameters
| Name | Description |
|---|---|
idstring (UUID) | The id of the connection. |
Errors
Any authenticated endpoint can also return the authentication, scope and rate limit errors listed on the errors page.