Batch create responses
POST/v3/responses/batch
Batch create responses
Request
- application/json
Body
Array [
Array [
]
]
ID of the survey
responses
object[]
required
Possible values: <= 400
ID of the contact
contact
object
Contact of the submission
Possible values: <= 255 characters
Full Name of contact
Possible values: <= 255 characters
Email of contact. Can be optional only if anonymous contact feature is enabled.
Possible values: <= 255 characters
Phone number of the contact
Possible values: <= 255 characters
Mobile number of the contact
Possible values: <= 255 characters
Job Title of the contact
Possible values: [contact, employee]
Default value: contact
Type of contact
Possible values: <= 255 characters
Reference ID of the anonymous contact
Default value: true
When true (the default), this response triggers its configured workflows — webhooks, survey rules, integrations, and notifications. Set it to false to import the response quietly, without firing any of them. We recommend sending the same value for every response in the batch. Note: marketplace (SparrowApps) events are gated at the batch level — if even one response has trigger_workflow set to false, marketplace events are skipped for the entire batch.
ID of the channel
meta_data
object
Possible values: <= 255 characters
OS of the response
Possible values: <= 255 characters
Browser of response
Possible values: <= 255 characters
Time Zone of response
Possible values: <= 255 characters
Browser Language of the response
Date and Time of submission. Should be in the ISO format
Tags of response
Tags of response
Possible values: <= 255 characters
Device Type of response
Possible values: <= 255 characters
Language of response
answers
object[]
required
ID of the question
ID of the parent question
Answer of question
Other Text Answer
Matrix Answer for Text Input
Matrix Answer for Rating
Possible values: <= 255 characters
Region code of Answer
Possible values: <= 255 characters
Time of Answer
Possible values: <= 255 characters
TimeZone of Answer
Responses
- 202
Accepted
- */*
- Schema
- Example (from schema)
Schema
Job ID for tracking the batch import process
A message indicating the acceptance of the batch import request
{
"token": "your_job_id_example",
"message": "string"
}