Submit a response to a question
This endpoint allows you to submit a response to a question.
POST
This endpoint allows you to submit a response to a question.
Loading code example
Loading code example
Authorizations
apiKeyAuthstringheaderrequired
API key passed in the header.
Body
Body
loyaltyQuestionChoiceIdstring<uuid>requiredUUID of the selected choice
websiteIdstring<uuid>UUID of the website to filter responses
organizationIdstring<uuid>UUID of the organization to filter responses
userIdstring<uuid>UUID of the user who submitted the response
Response
application/json
200
responseobjectrequiredresponse.idstring<uuid>requiredUUID of the response
response.userIdstring<uuid>requiredUUID of the user who submitted the response
response.loyaltyQuestionIdstring<uuid>requiredUUID of the question being answered
response.loyaltyQuestionChoiceIdstring<uuid>requiredUUID of the selected choice
isCorrectbooleanrequiredWhether the submitted answer was correct
alreadySubmittedbooleanrequiredWhether the user had already submitted an answer to this question