---
title: "Create conversation rating result"
method: POST
path: "/beta/conversations/{conversationId}/ratings/{ratingId}/submit"
tags: ["Conversations", "Ratings", "Chatbots"]
---

# Create conversation rating result

`POST /beta/conversations/{conversationId}/ratings/{ratingId}/submit`

Create a rating result for a specific conversation.

## Path parameters

- `conversationId` integer, required
- `ratingId` string, required

## Request body

- CreateRatingResultInput
  - `userId` string — The userId property is no longer used so it's made optional to keep backwards compatibility. A null value can be provided instead of an actual ID.
  - `ratingResult` union, required
    - Csat
      - `value` integer, required — Numeric value between 1 and 5 representing the customer's satisfaction level.
    - Nps
      - `value` integer, required — Numeric value between 0 and 10 representing the net promoter score.
    - ThumbsUpOrDown
      - `value` integer, required — One of the the numeric values 0 (thumbs down) and 1 (thumbs up).
  - `comment` string
  - `submittedAt` string, date-time

## Response `201`

The created conversation rating result

- CreateRatingResultOutput
  - `data` RatingResult, required
    - `ratingId` string, required
    - `userId` string
    - `ratingResult` union, required
      - Csat
        - `value` integer, required — Numeric value between 1 and 5 representing the customer's satisfaction level.
      - Nps
        - `value` integer, required — Numeric value between 0 and 10 representing the net promoter score.
      - ThumbsUpOrDown
        - `value` integer, required — One of the the numeric values 0 (thumbs down) and 1 (thumbs up).
    - `comment` string
    - `submittedAt` string, date-time

## Other responses

- `400`
- `500` — Internal failure during request processing

---

[API](https://skmtc.net/dixa/apis/dixa-api.md) · [All operations](https://skmtc.net/dixa/apis/dixa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dixa/dixa-api/revisions/5eaff14a2c46/schema)
