XUND API Documentation

POST /v1/chatbot/restoreToQuestion

Use this endpoint for navigating back to a question asked earlier.

This endpoint restores the check’s state to a previous question and clears all answers after the question the check was reset to.

Request

Request header additional fields

Parameter name

Parameter type

Parameter description

check-id

string

The ongoing check’s identifier

Request body parameters

Parameter name

Parameter type

Parameter description

questionId

string

ID of question the check should be restored to

Examples

Restore the check to the question with ID 'e38f994b-6464-4c49-8b11-28687031d46d'

JSON
{
    "questionId": "e38f994b-6464-4c49-8b11-28687031d46d"
}

Response

The endpoint returns with status code 200 if the operation was successful.