curl --request GET \
--url https://api.statisfy.com/v1/objects/account/records/{account_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/objects/account/records/{account_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/account/records/{account_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/account/records/{account_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/account/records/{account_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/account/records/{account_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/objects/account/records/{account_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_summary__s_": "<string>",
"arr": 123,
"crm_account_id": "<string>",
"currency": "<string>",
"domain": "<string>",
"experience_health": "<string>",
"feature_requests_health": "<string>",
"fields": {},
"health": "<string>",
"health_summary": "<string>",
"hierarchy": "<string>",
"last_activity_date": "<string>",
"name": "<string>",
"outcomes_health": "<string>",
"owner_names": [
"<string>"
],
"owners": [
{
"user_id": "<string>",
"field": "<string>",
"role": "<string>",
"source": "<string>"
}
],
"parent": "<string>",
"product_usage_health": "<string>",
"relationship_health": "<string>",
"renewal_date": "<string>",
"risks_health": "<string>",
"type": "<string>"
}Get one account
Returns one account by id. Standard fields sit at the top level and custom fields under fields, keyed as GET /v1/fields?object=account lists them. Owner fields and parent hold the id of one record; owners lists every owner, including owners synced from a CRM, with the owner field it holds (null for a synced owner). health (overall) and each <pillar>_health are the pillar’s current label, and health_summary the overall reason, as the app’s health widget shows them; each pillar’s reason, confidence, source and history are GET /v1/health (scope health:read). Renewals are not returned yet. Deleted accounts are never returned.
curl --request GET \
--url https://api.statisfy.com/v1/objects/account/records/{account_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/objects/account/records/{account_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/account/records/{account_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/account/records/{account_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/account/records/{account_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/account/records/{account_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/objects/account/records/{account_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_summary__s_": "<string>",
"arr": 123,
"crm_account_id": "<string>",
"currency": "<string>",
"domain": "<string>",
"experience_health": "<string>",
"feature_requests_health": "<string>",
"fields": {},
"health": "<string>",
"health_summary": "<string>",
"hierarchy": "<string>",
"last_activity_date": "<string>",
"name": "<string>",
"outcomes_health": "<string>",
"owner_names": [
"<string>"
],
"owners": [
{
"user_id": "<string>",
"field": "<string>",
"role": "<string>",
"source": "<string>"
}
],
"parent": "<string>",
"product_usage_health": "<string>",
"relationship_health": "<string>",
"renewal_date": "<string>",
"risks_health": "<string>",
"type": "<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?