---
title: "Submits a survey response. Returns the GoogleReviewUrl when score &gt;= 9 and a Place ID is configured."
method: POST
path: "/public/nps/{token}"
tags: ["PublicNps"]
---

# Submits a survey response. Returns the GoogleReviewUrl when score &gt;= 9 and a Place ID is configured.

`POST /public/nps/{token}`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/public/nps/{token}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/public/nps/:token/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `token` string, required

## Request body

- NpsSubmitDto: Submission body POSTed by the public NPS survey page.
  - `score` union: 0-10 NPS score.
    - integer
    - string, int32
  - `comment` string, nullable: Optional free-text comment (passive/detractor branches).
  - `canContact` boolean, nullable: Detractor branch: did the client agree to be contacted?

## Response `200`

OK

- NpsSubmitResultDto: Response from the public NPS submit endpoint. When score &gt;= 9 and a Place ID is configured, GoogleReviewUrl is populated so the form can redirect the promoter to leave a review.
  - `ok` boolean
  - `googleReviewUrl` string, nullable

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
