> For the complete documentation index, see [llms.txt](https://docs.cartat.net/cartat-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cartat.net/cartat-api/whatsapp-qr-api/chats/chats-by-lable-id.md).

# 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](/cartat-api/whatsapp-qr-api/get-started.md) |
