List channels
SDK platic.channels.list()
List workspace channels. Each includes its responding agent and health, which indicates whether it works or what it needs.
Example
curl https://api.platic.ai/v1/channels \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.channels.list(); Query parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
workspace | string | Workspace ID. Required if your credential covers several workspaces (list workspaces); without it the answer is 400 | If the credential has several |
Response
{
"status": "success",
"data": [
{
"id": "759211583950552",
"prefixedChannelId": "wb-759211583950552",
"platform": "whatsapp",
"channelType": "whatsapp_business",
"isConnected": true,
"status": "CONNECTED",
"defaultAgentId": "tVKljCHCNiebQdasHeit",
"name": "Acme Store",
"displayPhoneNumber": "+52 1 55 1234 5678",
"phoneNumber": "5215512345678",
"businessId": "2555143851162952",
"wabaId": "1630221868195156",
"kind": "messaging",
"commentAutoReply": null,
"creationDate": "2026-05-28T22:58:46.587Z",
"lastUpdate": "2026-11-10T18:00:16.911Z",
"health": {
"state": "ok",
"reason": null,
"since": "2026-05-28T22:58:46.587Z"
}
},
{
"id": "104857362918475",
"prefixedChannelId": "fb-104857362918475",
"platform": "messenger",
"channelType": "messenger",
"isConnected": true,
"status": "CONNECTED",
"defaultAgentId": null,
"name": "Acme Store",
"displayPhoneNumber": null,
"phoneNumber": null,
"businessId": null,
"wabaId": null,
"kind": "messaging",
"commentAutoReply": null,
"creationDate": "2026-09-02T15:20:11.004Z",
"lastUpdate": "2026-11-10T16:05:00.000Z",
"health": {
"state": "needs_reconnection",
"reason": "asset_access_revoked",
"since": "2026-11-10T16:05:00.000Z"
}
}
]
} data is the list of the workspace's channels, not paginated. Channels you removed from the workspace no longer appear.
Channel fields
| Field | Type | Description |
|---|---|---|
id | string | Channel id |
prefixedChannelId | string | null | The prefixed id that messages use as channelId: wb- WhatsApp, fb- Messenger, ig- Instagram, fbc- Facebook comments, igc- Instagram comments, em- mailbox, wc- web chat |
platform | string | null | What the channel is: whatsapp, messenger, instagram, facebook_comments, instagram_comments, webchat, or email. Every mailbox is email, whether it is on your domain, Gmail, or Outlook. New values may appear: show them as they come |
channelType | string | null | Specific channel type, such as whatsapp_business or email_mailbox |
isConnected | boolean | null | Whether the channel is connected |
status | string | null | The status the channel reports, as Platica stores it (for example CONNECTED). To know whether it works, use health |
defaultAgentId | string | null | The agent that answers what arrives on the channel. null if none |
name | string | null | Channel name |
displayPhoneNumber | string | null | The number, human-readable (WhatsApp) |
phoneNumber | string | null | The number, without + (WhatsApp) |
businessId | string | null | Meta business portfolio id |
wabaId | string | null | WhatsApp Business Account id |
kind | string | messaging or comments (Facebook or Instagram comments) |
commentAutoReply | object | null | Comment channels only: enabled (the agent replies), configured (a configuration is published), and mode (public_reply, dm_redirect, both, or dm_only). null on messaging channels. Configured in Platica |
creationDate | string | null | When it was connected, in ISO 8601 |
lastUpdate | string | null | Last change, in ISO 8601 |
health | object | Whether it works and what it needs. See health |
health
| Field | Type | Description |
|---|---|---|
state | string | ok, needs_reconnection, action_required, paused, or disconnected |
reason | string | null | The reason, as a stable code. null only when state is ok |
since | string | null | Since when, in ISO 8601, as far as Platica knows |
Platica computes health from what it already knows about the channel. Reading it does not call Meta, Google, or Microsoft.
state | reason | What happens | What to do |
|---|---|---|---|
ok | null | It works | Nothing |
needs_reconnection | asset_access_revoked | Access to the page or account was lost; for example, someone removed the permission in Meta | Request another connection of the same type |
needs_reconnection | token_invalid | Meta rejected the stored permission when sending a message; for example, because the password changed or access was removed | Request another connection of the same type |
needs_reconnection | authorization_pending | The authorization was not completed | Request another connection of the same type |
needs_reconnection | mailbox_reconnect_required | Gmail or Outlook: the mailbox lost its authorization | Reconnect it in Platica, in Integrations |
needs_reconnection | permissions_error | WhatsApp: the number could not be registered for lack of permissions | Request another connection of the same type |
action_required | webhook_not_subscribed | Platica is not receiving the channel's messages | Request another connection of the same type |
action_required | account_disabled | WhatsApp: Meta disabled the WhatsApp Business account | Check the reason and appeal in your WhatsApp Business account in Meta |
action_required | account_disable_scheduled | WhatsApp: Meta announced it will disable the account | Check the notice in your WhatsApp Business account in Meta before the date |
action_required | payment_required | WhatsApp: Meta rejects messages because the account has no active payment method or credit | Check the account in Platica, in Integrations → WhatsApp |
action_required | messaging_blocked | WhatsApp: Meta blocked sending from the number | Check it in your WhatsApp Business account in Meta |
action_required | code_verification_pending | WhatsApp: the number still has to be verified with the code | Finish it in Platica, on the number's screen |
action_required | two_step_pin_required | WhatsApp: the number has two-step verification and the PIN is missing | Finish it in Platica, on the number's screen |
action_required | registration_cooling_down | WhatsApp: Meta asks to wait before retrying the registration | Wait and try again in Platica |
action_required | registration_pending | WhatsApp: the number has not finished registering | Finish it in Platica, on the number's screen |
action_required | webchat_not_published | Web chat: it has never been published | Publish it |
paused | mailbox_paused | Gmail or Outlook: the mailbox is paused. It also ends up this way when you disconnect it | Reconnect it in Platica, in Integrations |
paused | webchat_turned_off | Web chat: paused because config.enabled is false | Send config.enabled: true with update a web chat and publish it |
disconnected | disconnected | The channel is disconnected. On a web chat, you turned it off | Request another connection of the same type. A web chat is turned on by publishing it |
New reasons may appear. If you do not know a reason, show it as it comes and go by state.
Errors
| Status | details.code | When it happens |
|---|---|---|
400 | INVALID_REQUEST | Your credential covers several workspaces and you did not send ?workspace=, or you sent one it does not cover. details.available lists the ones you can use |
401 | UNAUTHENTICATED | The credential is missing or invalid |
403 | FORBIDDEN | The credential does not have the Integrations module (Missing integrations permission) |
500 | INTERNAL_ERROR | The channels could not be read. Try again |
{
"code": 400,
"error": "Bad Request - The request has validation errors",
"details": {
"code": "INVALID_REQUEST",
"message": "Must specify a valid workspace (multi-workspace API key)",
"available": ["ws_123", "ws_456"]
}
} The general error format is in Errors.
Notes
- For a single channel, use get a channel. To connect a new one, connect a channel. For your site's chat, create a web chat.
platica:readis enough.