POST
Send a client their questions

Authorizations

x-api-key
string
header
required

The API key to authenticate requests.

Body

application/json
clientId
string | null

The client whose data this is, for an operator applying on behalf of clients. Omit for your own.

Minimum string length: 1
libraryQuestionIds
string[]

The library questions to ask, by id. Leave out for the set that suits the client's role family; send an empty list for the basic questions only.

Maximum array length: 60
Required string length: 1 - 64
customQuestions
object[]

Questions of the writer's own, asked after the others.

Maximum array length: 60

Response

200 - application/json

The questions and the link to send.

id
string
required
status
enum<string>
required
Available options:
open,
submitted
questions
object[]
required
progress
object
required

How many of the questions are answered or skipped, out of all of them.

url
string | null
required

The link the client opens, without an account.

createdAt
string<date-time>
required
submittedAt
string<date-time> | null
required
answers
object[]

The client's answers. Present only once the client has sent them.