These examples will guide you to a set of scenario's of how you could use our API. We will not explain all the details of the possible requests. To really find out all the options, you can check the Full API Reference.
"Hello World!" example to get into the details of how to pass the Authentication Headers.
In this example we will show you how to use the select
parameter when querying results. We will combine the select
parameter with a filter
parameter to only retrieve the surveys which are currently LIVE.
In this example we will show you how you can retrieve all respondents from a survey. We only want to retrieve the respondents from yesterday. A possible use case of this request is a scenario in which you would like a daily update of the respondents from a survey. In our example we are requesting the respondents from yesterday.
If you would like to add multiple contacts in one request, you can use our import options. Create you configuration once, reuse it for importing a lot of contacts with one request!
This example will show you the possibilities to add a new contact. This contact will immediately be added to a survey. We will return a ContactCreateResult which indicates if the request was successful and the contact id or failure message. With the contact id you can retrieve the panelist information.
This tutorial will show you how to get opt-outs from your CheckMarket account and how to add new ones to your account so that future surveys are not sent to those contacts.
Some examples of what you can do with our filters. These examples are based on the Demo survey which is by default created in your account.
Build the survey in your own application (web, mobile, desktop) and send us the responses.
ASP.NET Core 1 application in C# on how to import respondents using our API. Github repository
Node.js application with swagger-js on how to import your contacts.Github repository