Enneo

General

Submit a survey response

POST /survey/{reference}-{ticketId}

POST /survey/{reference}-{ticketId}

Path parameters

referencestringpathrequired

The reference code of a survey that was provided by an API endpoint, e.g. a reply

ticketIdintegerpathrequired

The ID of the referenced ticket

Request body

The survey response

starsintegerbody

Stars given by the user

textstringbody

No description.

Request Example

{
  "stars": 5,
  "text": "I really loved your app"
}

Responses

200 — Successful operation

Response Example

{
  "success": true
}

403 — Unauthorized

500 — Internal error