2. Survey settings for the API
Every survey has an “API” tab in its settings with these fields:
Enable sending of results: Yes/No
Turn this on to exchange data between the survey and your site
Result sending method: POST/GET/JS
One of the sending methods described in 1.2 . If you choose POST or GET, one more field appears:
URL for result sending: Result URL
The address of the script on your site that receives the data by POST or GET. Include the protocol (https://). Not used with the JS method
Send results of the respondent: Yes/No
If enabled, the respondent's answers are sent to the Result URL together with the other parameters
Use control signature: Yes/No
If enabled, Simpoll requires a signature in the parameters your site sends. Data sent to the Result URL is signed too. How signatures are made and checked is described below.
Control signature key: line
A secret string known only to you and Simpoll. It is used as the “salt” when generating signatures