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_b/get_worker_tasks/<campaign_id>_<worker_id> GET
Returns worker's tasks list.
Parameters:
Return values:
status=SUCCESS, count=[nr of tasks], tasks=[array of fields]
status=ERROR, campaign_id, worker_id, error=[error message*]
*[NO SUCH CAMPAIGN|NO TASKS]
Code:
cURL:
PHP:
Perl:
Python:
C#:
Examples:
Output (Success):
https://api.microworkers.com/campaign_b/get_worker_tasks/123456789_12345
{
"status": "SUCCESS",
"count": 1,
"tasks": [
{
"bonus_worker_earned": "0.00000",
"campaign_id": "123456789",
"csv_record_nr": "0",
"employer_comment": "",
"file_proof": {
"file_proof_details": [
{
"content_type": "image/png",
"filename": "123456789_12345_1000.png",
"size": 3118
}
],
"status": "SUCCESS"
},
"finished_datetime": "2014-12-04 11:35:17",
"ip": "123.13.15.15",
"proof": "",
"task_id": "1000",
"task_rating": "NOTRATED",
"worker_earned": "0.00000",
"worker_id": "12345"
} ]
}
Output (Error):
https://api.microworkers.com/campaign_b/get_worker_tasks/123456780_01234
{
"status": "ERROR",
"campaign_id": "123456780",
"error": "NO SUCH CAMPAIGN",
"worker_id": "01234"
}