> For the complete documentation index, see [llms.txt](https://crmx-support.gitbook.io/crmx-api-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://crmx-support.gitbook.io/crmx-api-document/wifiprofile-api.md).

# WifiProfile API

API quản lý wifi profile

## Lấy danh sách WifiProfile của merchant

<mark style="color:blue;">`GET`</mark> `{{base_url}}/wifi_profiles`

Cho phép lấy danh sách wifi profile của merchant

#### Query Parameters

| Name           | Type   | Description                |
| -------------- | ------ | -------------------------- |
| merchant\_slug | string | tên merchant               |
| page           | string | trang hiện tại             |
| page\_limit    | string | giới hạn số bản ghi trả về |

#### Headers

| Name           | Type   | Description             |
| -------------- | ------ | ----------------------- |
| Authentication | string | Bearer \<access\_token> |

{% tabs %}
{% tab title="200 Success" %}

```
{
    "status": 200,
    "message": "page: 1, page_limit: 3, total shops: 3",
    "data": [
        
        ]
}
```

{% endtab %}

{% tab title="401 access token not found" %}

```
{
    "status_code": "401",
    "message": "access_token not found! Please contact CRMX at support@crmx.com.vn for help"
}
```

{% endtab %}

{% tab title="404 merchant\_slug là bắt buộc" %}

```
{
    "status": 404,
    "message": "merchant_slug required!"
}
```

{% endtab %}
{% endtabs %}
