---
title: "Record Ticket Satisfaction"
method: POST
path: "/api/cs/tickets/{ticket_id}/satisfaction"
tags: ["customer_service"]
---

# Record Ticket Satisfaction

`POST /api/cs/tickets/{ticket_id}/satisfaction`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/cs/tickets/{ticket_id}/satisfaction`
- Auth: none declared

migrations/0468: the one door a satisfaction rating comes in through.

⛔NOT A SURVEY ENDPOINT, and deliberately not reachable by an anonymous
customer following a link: gated exactly like every other write on a
ticket (_require_kind_grant_or_assignee -- the caller must hold this
ticket's kind or already own it). WHO asks the customer, and how their
answer gets from them to here, is a product decision nobody has made;
building an unauthenticated rating link would be making it. Until it is
made, the honest writer is a person who was told -- which is exactly why
`rated_by` distinguishes 'customer' from 'manager' and the two are never
averaged (0276's rule, kept here rather than restated differently).

## Path parameters

- `ticket_id` string, uuid, required

## Request body

- TicketSatisfactionRequest
  - `rating` integer, required
  - `rated_by` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
