> For the complete documentation index, see [llms.txt](https://en.help.firstline.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://en.help.firstline.cc/developer/api/man-yi-du-diao-cha.md).

# Satisfaction survey

## Search

```javascript
GET https://{API_DOMAIN}/api/v1/csat-score
```

```javascript
curl -X GET
    -H "Content-Type: application/json"
    https://{API_HOST}/api/v1/csat-score
```

### Form Data

The table below lists available filter conditions

| PARAMETER                | REQUIRED | DEFAULT | TYPE     | DESCRIPTION                        |
| ------------------------ | -------- | ------- | -------- | ---------------------------------- |
| **score\_\_lower**       | false    | Null    | Number   | Minimum satisfaction score range   |
| **score\_\_upper**       | false    | Null    | Number   | Maximum satisfaction score range   |
| **created\_at\_\_start** | false    | Null    | Datetime | Satisfaction submission start time |
| **created\_at\_\_end**   | false    | Null    | Datetime | Satisfaction submission end time   |

### Response

| PROPERTY | TYPE             | DESCRIPTION     |
| -------- | ---------------- | --------------- |
| **data** | Array of objects | Array object    |
| **meta** | Object           | Pagination data |

```javascript
{
    "data": [
        {
            "id": 1,
            "contactable_id": 100,
            "contactable_type": "App\\LivechatContact",
            "contact_log_id": 459,
            "handler": {
                "id": 1,
                "name": "alice chang"
            },
            "memo": null,
            "score": 5,
            "created_at": "2021-01-08 19:00:24",
            "updated_at": "2021-01-08 19:00:24"
        },
        {
            "id": 2,
            "contactable_id": 99,
            "contactable_type": "App\\LivechatContact",
            "contact_log_id": 460,
            "handler": {
                "id": 1,
                "name": "alice chang"
            },
            "memo": null,
            "score": 4,
            "created_at": "2021-01-09 12:38:34",
            "updated_at": "2021-01-09 12:38:34"
        }
    ]
}
```
