It is possible to download the list of email templates from the user's account on the Startquestion platform by requesting the so-called Webhook. 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.startquestionc.com/webhooks/[id_account]/[webhook_key]/[webhook_auth]/mailing-templates-list?additional_parameters

Additional parameters are as follows:

  • id_account – ID of your account on the Startquestion platform. To find it out about, please contact us

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

  • additional_parameters – additional parameters defining the addressee of the message and date of sending the invitation. They can be set as GET parameters of POST parameters and they are as follows:

- limit = 20 – default value. It’s not possible to send more than 20 templates at once.

- offset = 1

Sample response in JSON:

[
{
"id":69047,
"name":"Tytul ankiety testowej",
"subject":"Wewnętrzny Tytul ankiety testowej",
"body":"<p>Witaj,<br /> <br /> Zapraszam do wypełnienia ankiety na temat Sukcesor w programie dla TOP OMS<br /> Wypełnienie ankiety powinno zająć około 60 minut<br /> <br /> Aby wypełnić ankietę kliknij na link:.....",
"date_created":"2011-09-19 13:22:06"
},
{
...
}
]

Besides the above method, you can also download the ID of the invitation directly from the user panel. You can find out more about this method in the article.