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:
expiry time of link in UTC
Possible values: <= 100
Id's of Contact Lists
Create short link for the survey
Possible values:
expiry time of link in UTC
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": "2024-11-25T11:36:02Z"
    }
  ]
}