API documentation
Account
Basic Campaigns
- GET
- /campaign_b/get_task_info/
- /campaign_b/list_tasks/
- /campaigns_b/list
- /campaigns_b/list_extend
- /campaign_b/list_tasks_extend/
- /campaign_b/get_status/
- /campaign_b/get_info/
- /campaign_b/download_file_proof/
- /campaign_b/zones_list/
- /campaign_b/categories_list/
- /campaign_b/get_worker_tasks/
- /campaign_b/results_csv/
- POST, PUT
- /campaign_b/set_speed/
- /campaign_b/new_campaign
- /campaign_b/stop/
- /campaign_b/pause/
- /campaign_b/resume/
- /campaign_b/rate_task/
- /campaign_b/rate_tasks/
- /campaign_b/add_positions/
- /campaign_b/submit_proof/
- /campaign_b/submit_file_proof/
- /campaign_b/retarget/
- /campaign_b/restart_campaign/
- /campaign_b/toggle_qt_required/
HG Campaigns
- GET
- /campaign_hg/get_task_info/
- /campaign_hg/list_tasks/
- /campaign_hg/list_tasks_extend/
- /campaigns_hg/list
- /campaigns_hg/list_extend
- /campaign_hg/get_status/
- /campaign_hg/get_info/
- /campaign_hg/categories_list/
- /campaign_hg/groups_list/
- /campaign_hg/download_file_proof/
- /campaign_hg/get_worker_tasks/
- /campaign_hg/results_csv/
- POST, PUT
- /campaign_hg/new_campaign
- /campaign_hg/stop/
- /campaign_hg/pause/
- /campaign_hg/resume/
- /campaign_hg/rate_task/
- /campaign_hg/rate_tasks/
- /campaign_hg/add_positions/
- /campaign_hg/submit_proof/
- /campaign_hg/submit_file_proof/
- /campaign_hg/lock_task/
- /campaign_hg/change_group/
- /campaign_hg/restart_campaign/
- /campaign_hg/toggle_qt_required/
Employer
- GET
- /employer/exclude_list
- POST
- /employer/exclude_list
- DELETE
- /employer/exclude_list
Worker
Messages
/campaign_hg/rate_tasks/<campaign_id> PUT
Rates non-rated tasks.
Parameters:
Campaign ID
Example values: e7162dd17b83
Task IDs
[OK|NOK|REVISE]
Explanation to Worker why task wasn't accepted.
This field is mandatory when rating NOK or REVISE.
Optional bonus you wish to give to worker.
Bonus amount must be in range ("payment per task" x 0.1 .. "payment per task" x 2).
[add|remove]
Optional
Return values:
status=SUCCESS, campaign_id=[campaign id], tasks=[tasks]
status=ERROR, campaign_id, error=[error message*]
*[NO SUCH CAMPAIGN|INPUT DATA|SYSTEM ERROR]
Code:
cURL:
PHP:
Perl:
Python:
C#:
Examples:
Output (Success):
{
"status": "SUCCESS",
"campaign_id":"e7162dd17b83",
"tasks":[
{
"id_task":"1234567",
"rating":"OK",
"comment":"",
"success":true
},{
"id_task":"1234568",
"rating":"NOK",
"comment":"test",
"success":true
},{
"id_task":"1234569",
"rating":"NOK",
"comment":"",
"errors":["comment IS MANDATORY"]
},{
"id_task":"1234570",
"rating":"OK",
"bonus":10000,
"comment":"",
"errors":["Bonus you entered is outside allowed values"]
},{
"id_task":"1234568",
"rating":"NOK",
"comment":"",
"errors":["id_task IS NOT UNIQUE"]
},{
"id_task":"1234571",
"rating":"OK",
"bonus":1.00,
"comment":"",
"errors":["Your account balance is too low to add bonus"]
}] }
Output (Error):
{
"status": "ERROR",
"campaign_id": "a699bb9b2e7b",
"error": "NO SUCH CAMPAIGN"
}