# Labels

**if you need to all chat labels on WhatsApp using Cartat WhatsApp API You can use this endpoint.**

## To get all chats labels on WhatsApp

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

#### 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) |

{% tabs %}
{% tab title="200: OK " %}

```json
{
    "status": "success",
    "result": [
        {
            "id": "5",
            "name": "طلبات مكتملة",
            "hexColor": "#F0B330"
        },
        {
            "id": "6",
            "name": "جديد",
            "hexColor": "#A62C71"
        },
        {
            "id": "2",
            "name": "طلب جديد",
            "hexColor": "#C1A03F"
        },
        {
            "id": "1",
            "name": "عميل جديد",
            "hexColor": "#90A841"
        },
        {
            "id": "3",
            "name": "مدفوعات مُعلقة",
            "hexColor": "#A62C71"
        },
        {
            "id": "4",
            "name": "مدفوع",
            "hexColor": "#792138"
        }
    ]
}
```

{% endtab %}
{% endtabs %}
