Entity · surveys
Survey Schema
Fields
Survey Schema
Schema for survey/form definitions with embedded questions and logic
title
1–200 characters
description
max 5000 charactersnullable
descriptionHtml
nullable
status
Values
DRAFTACTIVEPAUSEDCLOSEDARCHIVEDsurveyType
Values
GENERALCSATNPSONBOARDINGSERVICE_REVIEWCUSTOMDefault: "GENERAL"
surveyNumber
nullable
isTemplate
Default: false
templateId
nullable
questions
Default: []
sortOrder
≥ 0
type
Values
SHORT_TEXTLONG_TEXTEMAILPHONEURLNUMBERSINGLE_CHOICEMULTIPLE_CHOICEDROPDOWNRATINGNPSDATEDATETIMEFILE_UPLOADYES_NOOPINION_SCALEMATRIXRANKINGLISTSTATEMENTTICKET_INFOPAGE_BREAKWELCOME_SCREENTHANK_YOU_SCREENrequired
Default: false
title
1–2000 characters
description
max 5000 charactersnullable
descriptionHtml
nullable
placeholder
max 200 charactersnullable
mediaUrl
nullable
mediaType
Values
IMAGEVIDEOnullable
config
Type-specific configuration, discriminated by kind
nullable
kind
Values
textnumberchoiceratingnpsdatefileUploadyesNoopinionScalematrixrankingliststatementmin
nullable
max
nullable
step
nullable
unit
max 50 charactersnullable
allowOther
nullable
randomize
nullable
maxRating
2 – 10nullable
icon
Values
STARHEARTTHUMBNUMBERnullable
includeTime
nullable
minDate
nullable
maxDate
nullable
maxFiles
1 – 20nullable
maxSizeMb
1 – 100nullable
allowedTypes
nullable
yesLabel
max 100 charactersnullable
noLabel
max 100 charactersnullable
minLabel
max 100 charactersnullable
maxLabel
max 100 charactersnullable
rows
nullable
columns
nullable
allowMultiple
nullable
items
nullable
minItems
≥ 0nullable
maxItems
≥ 1nullable
addButtonLabel
max 100 charactersnullable
translations
nullable
skillId
Optional skill_definition UUID this question rates; used for explicit skill updates on ticket assignee
nullable
skillScoringMode
direct = higher answer means stronger skill; inverted = lower answer means stronger skill
Values
directinvertednullnullable
logicRules
Default: []
action
type
Values
SHOWHIDEJUMP_TOEND_SURVEYtargetQuestionId
nullable
design
nullable
primaryColor
max 20 charactersnullable
backgroundColor
max 20 charactersnullable
backgroundImageUrl
nullable
logoUrl
nullable
fontFamily
Values
defaultserifmononullable
showProgressBar
Default: true
showQuestionNumbers
Default: true
layout
Values
ONE_PER_PAGEALL_AT_ONCESECTIONSDefault: "ALL_AT_ONCE"
colorMode
Values
lightdarkautoDefault: "light"nullable
useTenantBranding
Default: true
theme
Values
defaultminimalvibrantnatureoceansunsetlavenderslatenullable
cardRadius
0 – 30nullable
buttonRadius
0 – 30nullable
distribution
nullable
publicSlug
3–100 charactersnullable
allowAnonymous
Default: true
requireAuth
Default: false
oneResponsePerPerson
Default: false
deduplicationField
Values
emailuserIdipnonenullable
maxResponses
≥ 1nullable
password
max 200 charactersnullable
passwordHash
nullable
allowedDomains
nullable
embedEnabled
Default: false
completion
nullable
thankYouTitle
max 500 charactersnullable
thankYouMessage
max 5000 charactersnullable
redirectUrl
max 2000 charactersnullable
showSummary
Default: false
reminders
nullable
enabled
Default: false
intervalDays
1 – 90nullable
maxReminders
1 – 10nullable
emailSubject
max 200 charactersnullable
emailBody
max 5000 charactersnullable
integration
nullable
triggerOnTicketClose
Default: false
triggerTicketTypes
nullable
linkToPartyId
nullable
linkToContractId
nullable
languages
Default: []
translations
nullable
responseCount
≥ 0Default: 0
completionRate
0 – 100nullable
averageCompletionTimeSec
≥ 0nullable
npsScore
-100 – 100nullable
assignedToId
nullable
orgUnitId
nullable
tags
nullable
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/surveys— List, paginated + filterableGET /api/v1/surveys/<id>— Single entityPOST /api/v1/surveys— CreatePATCH /api/v1/surveys/<id>— Partial updateDELETE /api/v1/surveys/<id>— Soft deleteGET /api/v1/surveys/<id>/timeline— Audit + activities