# Get Channels

### Gets available channels.

```http
GET https://api.cm.com/messages/v1/accounts/{accountId}/messagechannels
```

<swagger method="get" path="/messages/v1/accounts/{accountId}/messagechannels" ></swagger>

#### Parameters

| Type     | Name                          | Description    | Schema        |
| -------- | ----------------------------- | -------------- | ------------- |
| **Path** | **accountId**  <br>*required* | The accountId. | string (uuid) |

#### Responses

| HTTP Code | Description | Schema                                                                                                                                                   |
| --------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **200**   | OK          | < [CM.Platform.Campaigns.Models.ApiCampaignChannel](/mobile-marketing-cloud/docs/object-definitions#cmplatformcampaignsmodelsapicampaignchannel) > array |

#### Example HTTP request

##### Request path

```
/messages/v1/accounts/string/messagechannels
```

#### Example HTTP response

##### Response 200

```json
[ {
  "id" : "string",
  "allowImages" : true,
  "name" : "string",
  "whatsAppRequestId" : "00000000-0000-0000-0000-000000000000",
  "type" : "string"
} ]
```

Channel id is to be used in the channels array in campaign request.