# Get channels

## Get a list of active sub channels

<mark style="color:green;">`POST`</mark> `https://api.renlaer.com/V1/OpenApi/OpenApiGetChannelList`

#### Headers

| Name                                           | Type   | Description                       |
| ---------------------------------------------- | ------ | --------------------------------- |
| UserId<mark style="color:red;">\*</mark>       | String | "Authentication" generated userId |
| Token<mark style="color:red;">\*</mark>        | String | "Authentication" generated token  |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json                  |

#### Request Body

| Name      | Type    | Description                     |
| --------- | ------- | ------------------------------- |
| ChannelId | Integer | Fill in 0 to query all channels |

{% tabs %}
{% tab title="200: OK "Code":1000,"Message":"Successful"" %}

```json
{
    "Code": 1000,
    "Message": "Successful",
    "Data": [
        {
            "ChannelId": 6,
            "RenlaerChannelStatus": 2,
            "ChannelName": "name",
            "ChannelPassword": password",
            "UseTrafficGb": 3.14,
            "LimieTrafficGb": 2.00,
            "CreateTime": "2023-06-13T10:08:41"
        }
    ]
}
```

{% endtab %}
{% endtabs %}
