curl --request GET \
--url https://api.closedloop.sh/v1/customers/{id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.closedloop.sh/v1/customers/{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.closedloop.sh/v1/customers/{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.closedloop.sh/v1/customers/{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.closedloop.sh/v1/customers/{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.closedloop.sh/v1/customers/{id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.closedloop.sh/v1/customers/{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{
"id": "c0ffee00-0000-4000-8000-000000000001",
"name": "Acme Co",
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_name": "<string>",
"domain": "acme.com",
"industry": "Hospitality",
"employee_count": 250,
"arr": 48000,
"currency": "USD",
"is_active_customer": true,
"churn_state": "active",
"insight_count": 23,
"last_seen": "2026-06-10T09:00:00Z"
}{
"error": "Not found.",
"code": "NOT_FOUND"
}{
"error": "API key authentication is temporarily unavailable. Please retry shortly.",
"code": "API_KEY_AUTH_UNAVAILABLE"
}Get a customer
Get one customer profile with its account summary, product insights, churn state, deals, people, and chronological activity timeline.
curl --request GET \
--url https://api.closedloop.sh/v1/customers/{id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.closedloop.sh/v1/customers/{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.closedloop.sh/v1/customers/{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.closedloop.sh/v1/customers/{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.closedloop.sh/v1/customers/{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.closedloop.sh/v1/customers/{id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.closedloop.sh/v1/customers/{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{
"id": "c0ffee00-0000-4000-8000-000000000001",
"name": "Acme Co",
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_name": "<string>",
"domain": "acme.com",
"industry": "Hospitality",
"employee_count": 250,
"arr": 48000,
"currency": "USD",
"is_active_customer": true,
"churn_state": "active",
"insight_count": 23,
"last_seen": "2026-06-10T09:00:00Z"
}{
"error": "Not found.",
"code": "NOT_FOUND"
}{
"error": "API key authentication is temporarily unavailable. Please retry shortly.",
"code": "API_KEY_AUTH_UNAVAILABLE"
}Authorizations
Team-scoped API key created in the app (Settings → API Keys).
Sent as X-API-Key: <key> on every request. The header name apikey
is also accepted as an alias.
Path Parameters
Resource UUID.
Response
Customer detail
"c0ffee00-0000-4000-8000-000000000001"
"Acme Co"
Parent account (account family), if this is a child property.
Parent account name.
"acme.com"
"Hospitality"
250
Annualized recurring revenue: SUM of won-deal annual_value (team currency).
48000
"USD"
Tri-state. true = a confirmed active customer; false = resolved and not an active customer; null = the account could not be resolved, so the status is unknown. Never read null as false.
true
active, at_risk, churned "active"
23
"2026-06-10T09:00:00Z"