The Surveys API provides survey links, estimated completion times, and reward amounts. Use this data to give your users access to engaging surveys and the information they need to decide which surveys to take.
You can also subscribe to the User Profiling API to receive users' responses to survey profiling questions, which provides insights into your user base.
Endpoint
Before you attempt to connect, complete the steps in Prepare to Connect to Besitos APIs.
Endpoint URL | https://wall.besitos.ai/data/surveys/wall/{partner_id}/{partner_user_id} |
HTTP method | GET |
Refresh rate | 5 minutes |
We recommend refreshing the API periodically to keep your list of offers up to date.
Path Parameters
Path parameter | Data type | Required | Description |
| string | yes | Your Besitos partner ID. |
| string | yes | The user's unique ID in your system. IDs are case-insensitive and limited to 50 characters. |
Query Parameters
Query parameter | Data type | Required | Description |
| string | yes | The user's device can be a mobile phone, tablet, or desktop computer. |
| string | yes | The user's device IP address. |
| string | no | The user's gender as |
| date/time | no | The user's date of birth in YYYY-MM-DD format. |
| string | no | The user's postal code. Maximum of 20 characters. |
Examples
Request
Request
GET https://wall.besitos.ai/data/surveys/wall/vwidqtrrn6sx/abc123?device=mobile&user_ip=107.4.147.79
Response
Response
[
{
"id": 1,
"name": "test_1",
"length": 1,
"amount": 0.5,
"amount_currency": "$",
"cpi": 1,
"url": "http://besitos.loc/survey/redirect/4ypj1wuwensd/1/b-sr5wijvkx2hyutbgwe/545d3f3f-0e8c-413e-91a6-529dcfaa088c",
},
{
"id": 2,
"name": "test_2",
"length": 5,
"amount": 0.5,
"amount_currency": "$",
"cpi": 1,
"url": "http://besitos.loc/survey/redirect/4ypj1wuwensd/2/b-sr5wijvkx2hyutbgwe/52431ea4-22ca-4b15-8dc3-4fad5fc6437d",
},
{
"id": 3,
"name": "test_3",
"length": 6,
"amount": 0.25,
"amount_currency": "$",
"cpi": 0.5,
"url": "http://besitos.loc/survey/redirect/4ypj1wuwensd/3/b-sr5wijvkx2hyutbgwe/74da5fe6-df78-441a-986a-7d476973c9be",
},
{
"id": 4,
"name": "test_4",
"length": 0.8333333333333334,
"amount": 0.13,
"amount_currency": "$",
"cpi": 0.25,
"url": "http://besitos.loc/survey/redirect/4ypj1wuwensd/4/b-sr5wijvkx2hyutbgwe/822f4bea-0bdc-4304-902f-7df15a10d06b",
},
{
"id": 4,
"name": "test_4",
"length": 0.8333333333333334,
"amount": 0.13,
"amount_currency": "$",
"cpi": 0.25,
"url": "http://besitos.loc/survey/redirect/4ypj1wuwensd/4/b-sr5wijvkx2hyutbgwe/e476ebc0-1511-44f6-94be-a92d02112d0c",
},
{
"id": 3,
"name": "test_3",
"length": 6,
"amount": 0.25,
"amount_currency": "$",
"cpi": 0.5,
"url": "http://besitos.loc/survey/redirect/4ypj1wuwensd/3/b-sr5wijvkx2hyutbgwe/3eeae948-60de-48a4-96b6-a300ebd83308",
},
{
"id": 7,
"name": "test_7",
"length": 7.883333333333334,
"amount": 0.13,
"amount_currency": "$",
"cpi": 0.25,
"url": "http://besitos.loc/survey/redirect/4ypj1wuwensd/7/b-sr5wijvkx2hyutbgwe/50b0d0fe-088d-42d7-b8f9-baad8f9d721f",
}
]
Response Attributes
Attributes | Data Type | Description | Example |
| string | Unique survey identifier. |
|
| string | Unique survey title. |
|
| number | Estimated time in minutes to complete the survey. |
|
| number | User's total earning potential in the partner's (your) currency. |
|
| string | Currency type sign. |
|
| number | Your (the partner's) payout in USD. |
|
| string | URL to the survey. |
With the Surveys API enabled, you'll receive type and survey_id attributes in the Conversions Data API response and postback.
Survey Redirect Link
As part of the setup, we need to know where you want users to be sent after they complete a survey. For example, you might return them to your app or website, where they can take more surveys.
The redirect URL should look like this:
https://{your_custom_survey_redirect}/?survey_id={surveyid}&user_id={user_id}&status={status}Parameter | Type | Description |
| string | Unique survey identifier. |
| string | Unique user identifier. |
| string | C = complete T = terminate |
