Skip to main content
All CollectionsAPI DocumentationWebhooks
Webhook for shortening the survey link
Webhook for shortening the survey link
Artur Zbiejcik avatar
Written by Artur Zbiejcik
Updated over 9 months ago

It is possible to shorten the link to your survey. A webhook is a URL requested using another IT system or opened in an ordinary browser.

The form of the URL is as follows:

https://www.startquestion.com/webhooks/[id_account]/[webhook_key]/[webhook_auth]/[webhook_name]?id_survey=123456&additional_parameters

Where:

  • id_account - ID of your account on the Startquestion platform. To get to know your contact ID, please contact us

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

  • webhook_name - in this case it's shorten-link

  • id_survey - ID of the survey whose link we want to shorten

  • additional_parameters - additional optional parameters for request of the survey

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

https://www.startquestion.com/webhooks/387487/TUwNjNDg3M/84b750d6956f02503015938fc38bfe36/shorten-link?id_survey=399793&user_token=JANKOW14&l1=Jan&l2=Kowalski&l3=Prezes&l4=VIP&l5=601602603

The above Webhook will shorten the link to the character:

https://www.startquestion.com/4e3/f55400

Remember!

To obtain parameter values, id_survey , please contact us at contact@startquestion.com

Did this answer your question?