Skip to main content

Create an answer

This endpoint allows you to add an answer to an existing response. Attempting to create an answer of a question that already exists for the response will result in 409 Conflict error.

Request

POST https://api.nicereply.com/answers

Request body

Field NameData TypeIs NullableDescription
response_idResponse IDNo
question_idQuestion IDNo
scaleScale ObjectNo
open_endedOpen Ended ObjectNo

Scale object

Field NameData TypeIs NullableDescription
valueIntegerNoScore

Open ended object

Field NameData TypeIs Nullable
valueStringNo
Example body
{
"response_id": "018a88f2-c3bf-777b-ac48-f53263563fe0",
"question_id": "7a9ecf44-dfe1-4f7f-8f99-c612cd815033",
"scale": {
"value": 1
},
"open_ended": null
}

Example response

204 No Content