# Customer ratings (CSAT)

> After a teammate resolves a chat, AskVault asks the customer once to rate the help from 1 to 5. See ratings in each conversation and CSAT in reports.

When a teammate resolves a conversation, AskVault asks the customer one question: how would you rate the help, from 1 (poor) to 5 (great)? They can add a comment. The rating shows in the conversation and in your reports. 

## Before you start

- You need the Growth plan, which includes the Inbox.
- You need an admin role to change the survey settings.

## Turn surveys on or off

Surveys are on by default for conversations a person handled.

1. Open **Inbox** in the sidebar.
2. Select the gear (**Inbox settings**) at the top of the folder list, then **CSAT surveys**. The **Inbox settings** dialog opens on its **Ratings** tab.
3. Use **Send rating surveys** to turn surveys on or off.
4. Turn on **Also survey AI-only conversations** if you want a rating when a teammate resolves a chat the AI handled alone. It is off by default.

## When a survey is sent

- **After a person handled the conversation.** A survey goes out when a teammate resolves a conversation that was handed to a human or where a teammate replied. Resolving from the conversation, changing the status to a resolved status and bulk resolving all count.
- **Once per conversation.** Reopening and resolving again never sends a second survey.
- **Only when a teammate resolves it.** A chat that closes another way, such as an automation rule or the customer confirming their question was answered, gets no survey.

## What the customer sees

| Channel | What the customer gets |
| --- | --- |
| Website widget and hosted chat page | A rating card in the chat: five buttons and an optional comment box. |
| Email | An email with five rating links. Each opens a page where they confirm the rating and can add a comment. Opening a link alone records nothing, so an email security scanner that pre-fetches links cannot record a rating. |
| WhatsApp | A message asking them to reply with a number from 1 to 5. It is sent only while WhatsApp's 24-hour customer-service window is open, which means the customer wrote in that conversation in the last 24 hours. |
| Telegram | A message with five rating buttons. They can also reply with a number. |

Other channels, including SMS and voice, get no survey. On WhatsApp and Telegram, a reply that is just a number from 1 to 5 is taken as the rating when it arrives within 7 days and before the customer starts a new conversation. It does not go to your AI agent and uses no message credits.

## How answers are counted

- The first answer counts. A customer can change their rating within 10 minutes, using the same survey. After that it is locked.
- A survey accepts answers for 7 days.

## Where you see the results

- **In the conversation.** The details panel shows the customer's rating and comment.
- **In reports.** The resolution report shows your CSAT %, which is the share of ratings that are 4 or 5, plus how many ratings you received, how many surveys were sent and the response rate.

## Record ratings from your own system

If you collect ratings yourself, send them with the API. Pass the conversation ID, a score from 1 to 5 and an optional comment. If the customer already rated that conversation through a survey, the API refuses the new rating with HTTP 409.

```bash
curl -X POST https://api.askvault.co/v1/agent/csat \
  -H "Authorization: Bearer ak_xxx" \
  -H "Content-Type: application/json" \
  -d '{"conversation_id": "conv_xxx", "score": 5, "comment": "Quick and clear"}'
```

## Check it worked

Resolve a test conversation that a teammate replied in, on the website widget. The rating card should appear in the chat. Pick a score and check that it shows in the conversation's details panel.

## If it doesn't work

**No survey was sent.** Surveys are off, the chat was resolved by an automation rule or by the customer, or it was an AI-only chat and **Also survey AI-only conversations** is off.

**No WhatsApp survey.** The customer did not write in the last 24 hours, so WhatsApp does not allow a normal message. Your team's own replies do not extend the window.

**The customer says the link stopped working.** Surveys accept answers for 7 days.

## Related

- [Assign and claim conversations](/inbox/assignment/)
- [Hand chats to your team](/support-teams/hand-chats-to-your-team/)
- [Measure results](/support-teams/measure-results/)
- Back to [the Inbox](/inbox/)

Source: https://docs.askvault.co/inbox/ratings/
