Insert

Inserts a survey response programmatically; set status to completed, partial, or disqualified. Available on selected plans only — contact SmartSurvey Support if you receive 403. See the Inserting Responses guide for question-type examples.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The survey id to insert the response into

Query Params
string
Defaults to minimal

How much of the inserted response to return: full (pages/questions/answers with labels), minimal (just the new id — default), or none (empty body, Location header only)

Body Params

Request DTO for inserting a survey response (completed or partial). Answers are grouped by question
(mirroring the GET shape) and flattened into the insert service's per-cell input.

string
required
length ≥ 1

The outcome to record: completed, partial or disqualified.

int32 | null
int32

The SurveyTranslationId (the unambiguous translation/language identifier) to record the response
against. Omit (or 0) to use the collector's default translation, which itself defaults to the survey's
default language. A free-text language code isn't accepted because one code can map to several translations.

string | null

An optional caller-supplied unique id for the response.

date-time | null

When the response was started (optional; defaults to the time of insert). Useful when importing historical responses.

date-time | null

When the response was completed (optional; defaults to the time of insert). Useful when importing historical responses.

boolean
string | null

Which completion side-effects to run for a completed response: all (default — full pipeline),
no_email (everything except notification + trigger emails), or none (finalise with no
emails, webhooks, integrations or AI — typically for imports). Omit for all.

questions
array of objects | null

The answers, grouped by question.

questions
variables
array of objects | null

The survey variables to seed, as name/value pairs.

variables
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json