Enneo

General

Submit a customer survey

POST /survey/{id}

POST /survey/{id}

Submit the response payload generated by the rendered survey form.

Path parameters

idintegerpathrequired

Customer survey id.

Request body

starsintegerbody

No description.

textstringbody

No description.

Request Example

{
  "stars": 5,
  "text": "Great service"
}

Responses

200 — Submitted (or already submitted — idempotent)

Response Example

{
  "success": true,
  "alreadySubmitted": true,
  "template": "string"
}

404 — Survey not found or expired