# Read rating settings

```http
GET https://trydimmi.com/api/v1/conversation-rating-settings
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `settings:read`.

## Response 200 (OK)

- `data` (object, required)
  - `delay_minutes` (integer, required): How many minutes after a conversation closes the customer is asked to rate it.
  - `email` (boolean, required): True when ratings are asked for by email.
  - `enabled` (boolean, required): True when the workspace asks customers to rate closed conversations at all.
  - `include_agent_closed` (boolean, required): True when conversations the AI agent closed ask for a rating too.
  - `messenger` (boolean, required): True when ratings are asked for in the messenger.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/conversation-rating-settings' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "delay_minutes": 123,
    "email": true,
    "enabled": true,
    "include_agent_closed": true,
    "messenger": true,
    "object": "<string>"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
