Get a channel
SDK platic.channels.get()
Read a channel by its id or prefixedChannelId, such as fb-104857362918475. The response lets you check its health and assigned agent.
Example
curl https://api.platic.ai/v1/channels/$CHANNEL_ID \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.channels.get("channel_123"); Path parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
channelId | string | Channel id or its prefixedChannelId | ✓ |
Query parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
workspace | string | Workspace ID. Required if your credential covers several workspaces; without it the answer is 400 | If the credential has several |
Response
{
"status": "success",
"data": {
"id": "104857362918475",
"prefixedChannelId": "fb-104857362918475",
"platform": "messenger",
"channelType": "messenger",
"isConnected": true,
"status": "CONNECTED",
"defaultAgentId": "tVKljCHCNiebQdasHeit",
"name": "Acme Store",
"displayPhoneNumber": null,
"phoneNumber": null,
"businessId": null,
"wabaId": null,
"kind": "messaging",
"commentAutoReply": null,
"creationDate": "2026-11-12T18:42:10.000Z",
"lastUpdate": "2026-11-12T18:42:10.000Z",
"health": {
"state": "ok",
"reason": null,
"since": "2026-11-12T18:42:10.000Z"
}
}
} data is the channel. Its fields and the health table are in list channels.
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) |
404 | CHANNEL_NOT_FOUND | The channel does not exist in this workspace, or you removed it |
404 | NOT_FOUND | You sent connections as channelId. For a connection, use get a connection |
{
"code": 404,
"error": "Not Found - The resource doesn't exist",
"details": {
"code": "CHANNEL_NOT_FOUND",
"message": "Channel fb-104857362918475 not found in workspace g6yCA16pkWl5eXo7KszB"
}
} The general error format is in Errors.
Notes
- If
health.stateis notok,health.reasonsays what it needs. It is almost always fixed by requesting another connection of the sametype. - To change the agent that answers it, use update a channel.
platica:readis enough.