curl --request GET \
--url https://api.statisfy.com/v1/objects/task/records/{task_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/objects/task/records/{task_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.statisfy.com/v1/objects/task/records/{task_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.statisfy.com/v1/objects/task/records/{task_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 => [
"Authorization: Bearer <token>"
],
]);
$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.statisfy.com/v1/objects/task/records/{task_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.statisfy.com/v1/objects/task/records/{task_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/objects/task/records/{task_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"account": "<string>",
"account_name": "<string>",
"activity": "<string>",
"assignee": "<string>",
"assignee_name": "<string>",
"assignee_type": "user",
"created_at": "<string>",
"creator": "<string>",
"description": "<string>",
"due_date": "<string>",
"fields": {},
"parent": "<string>",
"priority": "low",
"project": "<string>",
"project_name": "<string>",
"start_date": "<string>",
"status": "<string>",
"status_group": "not_started",
"title": "<string>",
"type": "activity_task",
"updated_at": "<string>"
}Get one task
Returns one task by id. Standard fields sit at the top level and custom fields under fields, keyed as GET /v1/fields?object=task lists them. A task’s name is title (there is no name). type is activity_task, risk_mitigation, expansion, key_next_step, escalation, project or milestone. status is the status’s name and status_group its group: not_started, active, done or archived, or null when the status has none. priority is low, medium or high, or null when not set. account holds an account’s id and account_name its name; project a project’s id and project_name its title; parent the parent task’s id; activity the activity the task came from. assignee holds a person’s id and assignee_name their name; assignee_type is user, contact, vendor or digital_worker. A task with several assignees shows the earliest, and an assignee filter matches any of them. creator holds a user’s id. Dates are YYYY-MM-DD; created_at and updated_at are their UTC day. Deleted tasks are never returned, nor customer goals, feature requests, issues and cancellations, which integrations and Statisfy’s own processing write.
curl --request GET \
--url https://api.statisfy.com/v1/objects/task/records/{task_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/objects/task/records/{task_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.statisfy.com/v1/objects/task/records/{task_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.statisfy.com/v1/objects/task/records/{task_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 => [
"Authorization: Bearer <token>"
],
]);
$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.statisfy.com/v1/objects/task/records/{task_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.statisfy.com/v1/objects/task/records/{task_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/objects/task/records/{task_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"account": "<string>",
"account_name": "<string>",
"activity": "<string>",
"assignee": "<string>",
"assignee_name": "<string>",
"assignee_type": "user",
"created_at": "<string>",
"creator": "<string>",
"description": "<string>",
"due_date": "<string>",
"fields": {},
"parent": "<string>",
"priority": "low",
"project": "<string>",
"project_name": "<string>",
"start_date": "<string>",
"status": "<string>",
"status_group": "not_started",
"title": "<string>",
"type": "activity_task",
"updated_at": "<string>"
}Authorizations
An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.
Query Parameters
Response
Successful Response
Was this page helpful?