Codevisor Server
Api reference

POST Sessions Id Questions QuestionId Answer

POST/v1/sessions/{id}/questions/{questionId}/answer

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
questionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

outcome*string

Value in

  • "answered"
  • "cancelled"
answers?|null
clientActionId?string|null

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/sessions/string/questions/string/answer" \  -H "Content-Type: application/json" \  -d '{    "outcome": "answered"  }'
{  "outcome": "answered",  "questionId": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}