> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postbase.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Channels

> List the connected accounts you can publish to.

## List channels

```bash theme={null}
curl https://www.postbase.so/api/v1/channels \
  -H "Authorization: Bearer pb_live_…"
```

`GET /channels` returns the connected accounts in your workspace. Use the `id`
values as `channel_ids` when [creating a post](/api/posts).

```json Response theme={null}
{
  "channels": [
    { "id": "…", "platform": "x", "handle": "@postbasehq", "status": "active" }
  ]
}
```
