All Collections
API Documentation
Webhooks
Webhook which adds a respondent to the recipient database
Webhook which adds a respondent to the recipient database
Piotr Sadowski avatar
Written by Piotr Sadowski
Updated over a week ago

Using Startquestion platform it’s possible to add a respondent to the recipient database of the survey invitation, without even sending this invitation to him or her. Webhook is nothing else than the URL called via another IT system or opened in a regular browser.
The URL address may look like this:

https://www.startquestion.com/webhooks/[id_account]/[webhook_key]/[webhook_auth]/[webhook_name]?addidtional_parameters

Where individual abbreviations and names mean:

  • id_account – Your account ID on the Startquestion platform. To get to know them please contact us,

  • webhook_key and webhook_auth – Webhook key and authorization. Parameters are available after logging into Your user account in the Account -> Settings -> Integrations tab. After generating the keys you will receive their values.

  • webhook_name – in this case it is an add-respondent,

  • additional_parameters – additional parameters defining the respondent. They can be sent as GET parameters or as POST parameters. Those are:

  1. email – email address of recipient (person who should get the invitation)

  2. l1, l2, …., l10 – additional contact field labels. Labels must be defined in advance for the survey to which the invitation is sent. All parameters are optional.

  3. id_survey – ID of the survey to which the respondent will be added (contact us to get the parameter value). This parameter is mandatory.

An example of URL with additional parameters sent as GET is:

https://www.startquestion.com/webhooks/387487/TUwNjNDg3M/84b750d6956f02503015938fc38bfe36/add-respondent?id_survey=399793&email=j.snow@startquestion.com&l1=John&l2=Snow&l3=CEO&l4=VIP&l5=601602603

The above Webhook will add the respondent with the address j.snow@startquestion.com to the survey ID = 399793. The respondent will also be described with the values ​​of the labels: John, Snow, CEO, VIP, 601602603. In this example, the labels created in the survey are: Name, Surname, Job title, Segment, telephone number.

Worth to remember:

To get the values ​​of the parameters: id_account, id_survey, please contact us at contact@startquestion.com.

Was this article helpful for you?

Did this answer your question?