# Chats By Lable ID

**if you need to get chats by label id using Cartat WhatsApp API You can use this endpoint.**

## To get chats by label id

<mark style="color:blue;">`GET`</mark> `https://api.cartat.net/chats/label/:label_id`

#### Path Parameters

| Name                                        | Type | Description |
| ------------------------------------------- | ---- | ----------- |
| label\_id<mark style="color:red;">\*</mark> | 1    | label id    |

#### Headers

| Name                                            | Type             | Description                                                                           |
| ----------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------- |
| Accept<mark style="color:red;">\*</mark>        | application/json |                                                                                       |
| Content-Type<mark style="color:red;">\*</mark>  | application/json |                                                                                       |
| Authorization<mark style="color:red;">\*</mark> | Bearer {{token}} | you can find your access token [here](https://docs.cartat.net/cartat-api/get-started) |
