Get task details
curl --request GET \
--url https://api.humcli.com/api/v1/tasks/{id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.humcli.com/api/v1/tasks/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.humcli.com/api/v1/tasks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.humcli.com/api/v1/tasks/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.humcli.com/api/v1/tasks/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.humcli.com/api/v1/tasks/{id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.humcli.com/api/v1/tasks/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"title": "<string>",
"description": "<string>",
"status": "PENDING",
"task_type": "VERIFICATION",
"location": {
"lat": 123,
"lng": 123,
"address": "<string>"
},
"reward_usd": 123,
"platform_fee_usd": 123,
"deadline": "<string>",
"proof_requirements": [
"<string>"
],
"proof": {
"photos": [
"<string>"
],
"notes": "<string>",
"submittedAt": "<string>"
},
"guardian_result": {
"decision": "APPROVE",
"confidence": 123,
"reasoning": "<string>"
},
"operator": {
"id": "<string>",
"name": "<string>",
"rating": 123
},
"callback_url": "<string>",
"estimate_minutes": 123,
"accepted_at": "<string>",
"submitted_at": "<string>",
"verified_at": "<string>",
"completed_at": "<string>",
"created_at": "<string>",
"sandbox": true
}{
"error": "<string>"
}Tasks
Get task details
Get full task details including proof, guardian result, and operator info.
GET
/
api
/
v1
/
tasks
/
{id}
Get task details
curl --request GET \
--url https://api.humcli.com/api/v1/tasks/{id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.humcli.com/api/v1/tasks/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.humcli.com/api/v1/tasks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.humcli.com/api/v1/tasks/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.humcli.com/api/v1/tasks/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.humcli.com/api/v1/tasks/{id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.humcli.com/api/v1/tasks/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"title": "<string>",
"description": "<string>",
"status": "PENDING",
"task_type": "VERIFICATION",
"location": {
"lat": 123,
"lng": 123,
"address": "<string>"
},
"reward_usd": 123,
"platform_fee_usd": 123,
"deadline": "<string>",
"proof_requirements": [
"<string>"
],
"proof": {
"photos": [
"<string>"
],
"notes": "<string>",
"submittedAt": "<string>"
},
"guardian_result": {
"decision": "APPROVE",
"confidence": 123,
"reasoning": "<string>"
},
"operator": {
"id": "<string>",
"name": "<string>",
"rating": 123
},
"callback_url": "<string>",
"estimate_minutes": 123,
"accepted_at": "<string>",
"submitted_at": "<string>",
"verified_at": "<string>",
"completed_at": "<string>",
"created_at": "<string>",
"sandbox": true
}{
"error": "<string>"
}Authorizations
API key for agent and task endpoints. Format: ho_live_...
Path Parameters
Response
Task details
Available options:
PENDING, ESTIMATE_PENDING, ACCEPTED, IN_PROGRESS, SUBMITTED, VERIFIED, COMPLETED, MANUAL_REVIEW, DISPUTED, CANCELLED Available options:
VERIFICATION, PHOTO, DELIVERY, INSPECTION, CAPTCHA_SOLVING, FORM_FILLING, ACCOUNT_CREATION, API_KEY_PROCUREMENT, PHONE_VERIFICATION, SUBSCRIPTION_SETUP, CONTENT_REVIEW, DATA_VALIDATION, BROWSER_NAVIGATION Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes