Skip to main content
POST

Create Survey Template

Create a new survey template with a custom configuration of questions, work mode, and optional custom fields.
Work Mode Validation: The backend validates that all required steps for the selected work mode are enabled. For example, hybrid requires telecommute, weekly_travels, daily_trips, total_km, and transport to be enabled.

Request

Headers

x-api-key
string
required
Your API key for authentication
x-organization-id
string
required
Your organization UUID

Body Parameters

name
string
required
Template name (1-255 characters)Example: "Remote Team Survey"
description
string
Template description (max 1000 characters)Example: "Survey template for fully remote employees"
config
object
required
Template configuration containing work mode, steps, custom fields, and branding
config.work_mode
string
required
Work mode that determines which questions are shownAvailable values: hybrid, in_person_only, remote_only
config.steps
array
required
Array of step configurations. Each step has key, enabled, required, order, and optionally default_value and description.
config.custom_fields
array
Array of custom field definitions (optional)
status
string
Template statusDefault: "active"Available values: draft, active, archived
is_default
boolean
Whether this should be the organization’s default templateDefault: false

Response

Returns the created template object.