Skip to main content
PUT
Answer a text or choice question

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Headers

Zuba-Account-Id
string<uuid>

Optional. Names an owned sub-account (UUID) to read and answer that sub-account’s requests. Omit for your master account’s own requests.

Path Parameters

id
string<uuid>
required

The request

itemId
string<uuid>
required

The question

Body

application/json
answer
required

text / choice: a string; multi_choice: a string array; null clears the answer.

Response

answer
required

A string for text and choice, a list for multi_choice, null until answered and on document

answered
boolean
required
answeredAt
string<date-time> | null
required
document
object | null
required
help
string | null
required
id
string<uuid>
required
kind
enum<string>
required
Available options:
text,
choice,
multi_choice,
document
options
object[] | null
required

What a choice or multi_choice question offers

prompt
string
required

The question

required
boolean
required

Whether the request can be submitted without an answer here