---
docId: doc_db9bbd26e97f44f2aa5555c214ab6b47
title: Get a channel
description: "Read a channel by ID, including its health and assigned agent."
api:
  group: canales
  auth: bearer
  operations:
    - operationId: getChannel
      method: GET
      path: '/v1/channels/{channelId}'
      postmanName: Get a channel
---

<script>
  import { Ways } from '$lib/components';
</script>

# Get a channel

Read a channel by its `id` or `prefixedChannelId`, such as `fb-104857362918475`. The response lets you check its `health` and assigned agent.

## Example

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl https://api.platic.ai/v1/channels/$CHANNEL_ID \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

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

</Ways.Way>
</Ways>

## 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

```json
{
  "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](/api-reference/channels/list#channel-fields).

## 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](/api-reference/channels/connections/get) |

```json
{
  "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](/api-reference/errors).

## Notes

- If `health.state` is not `ok`, `health.reason` says what it needs. It is almost always fixed by [requesting another connection](/api-reference/channels/connections/create) of the same `type`.
- To change the agent that answers it, use [update a channel](/api-reference/channels/update).
- `platica:read` is enough.
