Skip to main content
POST
Add Question

Body

application/json
handle
string
required
Maximum string length: 255
label
string
required
Maximum string length: 255
type
enum<string>
required
Available options:
text,
textarea,
number,
slider,
boolean,
single_select,
multi_select,
date,
datetime,
email,
phone,
json
name
string | null
Maximum string length: 255
description
string | null
is_system
boolean
is_active
boolean
meta
string[] | null
help_text
string | null
icon
string | null
Maximum string length: 255
image_url
string<uri> | null
Maximum string length: 2048
validation
string[] | null
default_value
string | null
live_from
string<date-time> | null
live_to
string<date-time> | null
answer_ttl_days
integer | null
Required range: x >= 1
Available options:
none,
profile,
transaction,
rating,
interaction,
appointment,
connection,
transaction_item
Maximum string length: 255
Maximum string length: 255
options
object[] | null

Response

Question

data
Question · object
required