API Result Codes
All requests to the QuickTapSurvey API will return an HTTP status code of 200 (OK). In addition, all responses will contain a result code in their body in a JSON object that is specific to the QuickTapSurvey app and API methods as described below.
Code | Message |
0 | Invalid request. |
1 | Request per day limit exceeded. |
2 | Request per second limit exceeded. |
10 | Login succeeded. |
11 | Login failed: bad password, bad username or locked out account. |
12 | Login failed: invalid API key. |
20 | List surveys succeeded. |
21 | List surveys failed. |
22 | List surveys: invalid page number. |
30 | Get survey responses succeeded. |
31 | Get survey responses failed. |
32 | Get survey responses: invalid page number. |
33 | Unauthorized survey. |
34 | Unauthorized survey. |
35 | Get survey responses: survey not published. |
36 | Get survey responses: This survey is incompatible with your current plan. |
37 | You are attempting to use an API key valid only for API v1, please contact support@quicktapsurvey.com |
38 | API key required |
39 | Username required |
40 | API key and username required. |
41 | You have exceeded your response limit that your plan allows, please consider upgrading. |