Create unique survey links
POST/v3/channels/create_unique_links
Create unique survey links
Request
- application/json
Body
Array [
]
Id of Survey
Id of Channel
Possible values: <= 100
Id's of Contact
contacts
object[]
Possible values: >= 1, <= 100
Array of contact objects
Possible values: <= 255 characters
Full Name of contact
Possible values: <= 255 characters
Phone number of the contact
Possible values: <= 255 characters
Mobile number of the contact
Possible values: <= 255 characters
Email of contact
Possible values: <= 255 characters
Job Title of the contact
Possible values: [contact, employee]
Default value: contact
Type of the contact
Possible values: >= 1 and <= 365
Possible values: <= 100
Id's of Contact Lists
Create short link for the survey
Possible values: [absolute, relative]
How every expires_at in the request is read: absolute (a date, the default when not sent) or relative (a number of days after the link is created). A contact's own expires_at overrides the top-level one
Possible values: >= 1 and <= 365
Responses
- 200
Successful
- */*
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
ID of the contact
Survey Link
Short URL for the survey
expiry time of link in UTC
{
"data": [
{
"contact_id": 1,
"survey_link": "https://example.surveysparrow.com/n/survey-name/unique-identifier",
"short_url": "short.surveysparrow.com/DHDFYedfh",
"variables": {},
"expires_at": "2026-12-21T12:14:19Z"
}
]
}