It is possible to shorten the link to your survey. A Webhook is simply a URL called by another IT system or opened in a standard browser.

The URL address format is as follows:

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

Where:

  • id_account – ID of your account on the CustomerHero platform.

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

  • webhook_name – in this case it is shorten-link

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

  • additional_parameters – additional optional parameters for calling the survey:

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

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

The above Webhook will shorten the link to the following format:

https://survey.customerhero.com/l/4e3/f55400

Remember!

Parameter value, id_survey = Survey ID from the PROJECTS tab.