These are all the 1.0 APIs that have been deprecated since 23-Jan-2019. Please use the latest version of API 2.0.

/campaign/get_info/<type>/<campaign_id>

Get campaign information.
The value of 'type' (Campaign type) can be 'B' or 'HG'.

This API method is use for getting campaign details.
curl -H "MicroworkersApiKey:YOUR_API_KEY" -X GET "https://ttv.microworkers.com/api/campaign/get_info/B/2168e3b09815/format/json"
from pprint import pprint
from MW_API import MW_API
mw_api = MW_API('YOUR_API_KEY')
res = mw_api.do_request('GET','/campaign/get_info/B/2168e3b09815/format/json', {}, {})
pprint(res)
use MW_API;
use Data::Dumper qw(Dumper);
my $mw_api = MW_API->new('api_key' => 'YOUR_API_KEY');
my $res = $mw_api->do_request('GET', '/campaign/get_info/B/2168e3b09815/format/json');
print Dumper($res);
<?php

include "includes/RESTClient.php";
define("cAPI_KEY", "YOUR_API_KEY");
define("cAPI_URL", "https://ttv.microworkers.com/api");
$client = new RESTClient();
$client->setApiKey(cAPI_KEY);
$client->setUrl(cAPI_URL . "/campaign/get_info/B/2168e3b09815/format/json");
$client->setMethod("GET");
$client->execute();
$response = $client->getLastResponse();
$client->resetClient();
echo $response;
?>
using System;
using MWAPI;
using System.Collections.Specialized;

public class Test{
  public static void Main (string[] args){
    MW_API MW_API_Client = new MW_API ("YOUR_API_KEY");
NameValueCollection postData = new NameValueCollection();
    
    string body = MW_API_Client.getRequest("/campaign/get_info/B/2168e3b09815/format/json");
    Console.WriteLine (body);
  }
}

Definition


Result Format

{
  "status": "SUCCESS",
  "response": {
    "admin_instructions": "1",
    "approved_datetime9": "2013-12-15 21:59:02",
    "available_positions": "30",
    "blocked_datetime9": "0000-00-00 00:00:00",
    "blocked_reason": "",
    "campaign_id": "55652b7bef4b4",
    "campaign_status": "RUNNING",
    "campaign_type": "B",
    "category_details": {
      "category": "Sign up",
      "id": "0501",
      "subcategory": "Simple Sign up"
    },
    "created_datetime9": "2013-12-15 21:57:15",
    "excluded_countries": "",
    "finished_datetime9": "2014-04-09 16:23:18",
    "htmlcode": "<p>test<input type=\"text\" name=\"\"></p>",
    "cssSection": "<link href=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css\" rel=\"stylesheet\" type=\"text/css\">",
    "jsSection": "<script src=\"https://code.jquery.com/jquery-3.1.1.min.js\"></script><script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js\"></script>",
    "job_instructions": "1",
    "minutes_to_finish": "3",
    "payment_per_task": "0.10000",
    "questions": [
      {
        "question_id": "Q554f4c5b4afe8",
        "name": "",
        "tag": "Input",
        "type": "text",
        "required": true
      }
    ],
    "rating_method": 1,
    "required_proof": "1. Your Username",
    "required_work": "1. Go to www.mylittlewebsite.com 2. Sign up 3. Confirm account",
    "speed": "555",
    "targeted_countries": "INT",
    "tasks_nok": 1,
    "tasks_not_rated": 0,
    "tasks_not_reviewed": 0,
    "tasks_ok": "3",
    "title": "My Little Website: Sign up",
    "ttr": "5",
    "zone_id": "int"
  }
}
{
  "status": "ERROR",
  "message": "You don't have permission to access this page. Please check given parameters or contact Administrator for more details."
}