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

await platic.channels.get("channel_123");

Path parameters

ParameterTypeDescriptionRequired
channelIdstringChannel id or its prefixedChannelId✓

Query parameters

ParameterTypeDescriptionRequired
workspacestringWorkspace ID. Required if your credential covers several workspaces; without it the answer is 400If 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

Statusdetails.codeWhen it happens
400INVALID_REQUESTYour 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
401UNAUTHENTICATEDThe credential is missing or invalid
403FORBIDDENThe credential does not have the Integrations module (Missing integrations permission)
404CHANNEL_NOT_FOUNDThe channel does not exist in this workspace, or you removed it
404NOT_FOUNDYou 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