Generate Survey links

When the clients are not comfortable sharing the customers’ PII data with S2C, they can export unique survey links from S2C platform using the APIs. At a time, a maximum of 500 survey links can be ge

POST https://{env}.survey2connect.com/v2/api/survey-campaigns/external

Path Parameters

NameTypeDescription

env*

String

Datacenter identifier for client

Headers

NameTypeDescription

Authorization

String

Bearer {access_token}

Request Body

NameTypeDescription

collector_token*

String

Corresponding API collector unique token id (provided by platform)

contacts*

Array

An array of contacts to which surveys are to be triggered.

{
  "msg": "Request data is correct",
  "data": [
    {
      "extUniqueId": "234567",
      "message": "We are conducting a survey and your input would be appreciated. Open the link below to start the survey. Thank you for your participation! https://s2ccx.com/dYD07Un"
    },
    {
      "extUniqueId": "123456",
      "message": "We are conducting a survey and your input would be appreciated. Open the link below to start the survey. Thank you for your participation! https://s2ccx.com/fjx4cMn"
    }
  ],
  "rejected_list": [],
  "accepted": 2,
  "rejected": 0
}

Last updated