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/get_info/<campaign_id> GET
Returns data for selected campaign.
Parameters:
Campaign ID
Example values: e7162dd17b83
Return values:
status=SUCCESS,... other campaign data (see example)
status=ERROR, error=[error message*]
[NO SUCH CAMPAIGN]
Code:
cURL:
PHP:
Perl:
Python:
C#:
Examples:
Output (Success):
https://api.microworkers.com/campaign_hg/get_info/137956568899
{
"status": "SUCCESS",
"approved_datetime9": "2013-12-15 21:59:02",
"available_positions": "100",
"blocked_datetime9": "0000-00-00 00:00:00",
"blocked_reason": "",
"campaign_id": "137956568899",
"campaign_status": "FINISHED",
"created_datetime9": "2013-12-15 21:57:15",
"description_type": "SAME",
"finished_datetime9": "2014-04-09 16:23:18",
"group_of_workers_id": "18f4c27e5770",
"group_of_workers_name": "MW: Top Earners",
"max_pos_per_worker": "1",
"minutes_to_finish": "3",
"nr_of_required_proofs": "1",
"payment_per_task": "0.05000",
"qt_required": false,
"required_proof": [
"1. Your Username",
"",
"",
"",
""
],
"required_work": "1. Go to www.mylittlewebsite.com 2. Sign up 3. Confirm account",
"title": "My Little Website: Sign up"
"tasks_nok": 0,
"tasks_not_rated": 0,
"tasks_not_reviewed": 0,
"tasks_ok": "100",
"category_details": {
"category": "Sign up",
"id": "05"
}
}
Output (Error):
https://api.microworkers.com/campaign_hg/get_info/137956568899
{
"status": "ERROR",
"campaign_id": "e7162dd17b83",
"error": "NO SUCH CAMPAIGN"
}