---
title: "List connected channels"
description: "The channels this key can post to, with what each platform supports. Needs the **read** permission."
---

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

Path: mixetape API › Accounts and posts

`GET /api/v1/accounts`

The channels this key can post to, with what each platform supports. Needs the **read** permission.

## Authentication

- `apiKey`, http, header `Authorization`

## Code samples

### cURL

```curl
curl --request GET \
  --url https://mixetape.com/api/v1/accounts \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://mixetape.com/api/v1/accounts';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://mixetape.com/api/v1/accounts"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The connected channels.

#### Example

```json
{
  "accounts": [
    {
      "id": "string",
      "provider": "youtube",
      "platformAccountId": "string",
      "name": "string",
      "handle": "string",
      "status": "active",
      "capabilities": [
        "string"
      ]
    }
  ]
}
```

- `listAccountsRest.response.200.accounts` (array<object>, required)
  - `listAccountsRest.response.200.accounts.id` (string, required) — mixetape account id, used as accountId
  - `listAccountsRest.response.200.accounts.provider` (string, required)
    - one of `"youtube"`, `"facebook"`, `"instagram"`, `"threads"`, `"tiktok"`, `"pinterest"`
  - `listAccountsRest.response.200.accounts.platformAccountId` (string, required) — The platform's own id
  - `listAccountsRest.response.200.accounts.name` (string, required)
  - `listAccountsRest.response.200.accounts.status` (string, required) — `reconnect`: connect the channel again before posting to it
    - one of `"active"`, `"reconnect"`
  - `listAccountsRest.response.200.accounts.capabilities` (array<string>, required) — What its platform supports, e.g. comments, analytics
  - `listAccountsRest.response.200.accounts.handle` (string | null, optional)

### 400

The request is invalid; `error` says why.

#### Example

```json
{
  "error": "string"
}
```

- `listAccountsRest.response.400.error` (string, required) — What went wrong, in plain words

### 401

No valid API key.

#### Example

```json
{
  "error": "string"
}
```

- `listAccountsRest.response.401.error` (string, required) — What went wrong, in plain words

### 403

The key lacks the permission this needs.

#### Example

```json
{
  "error": "string"
}
```

- `listAccountsRest.response.403.error` (string, required) — What went wrong, in plain words


Source: https://docs.mixetape.com/api/Accounts-and-posts/listAccountsRest/index.md
