curl --request GET \
--url https://api.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationshipsimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships', 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.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships"
req, _ := http.NewRequest("GET", url, nil)
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.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"contact_id": "cnt_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"min_shared_groups": 1,
"limit": 50,
"offset": 0,
"groups_returned": 1,
"groups": [
{
"group_id": "grp_household_42",
"joined_at": "2026-01-15T08:30:00.000Z",
"last_seen_at": "2026-08-20T19:41:00.000Z",
"member_count": 3
}
],
"relationships_returned": 1,
"relationships": [
{
"contact_id": "cnt_02A9B8C7D6E5F4G3H2I1J0K9L8",
"display_name": "Jordan Miles",
"company": null,
"shared_group_count": 1,
"shared_groups": [
"grp_household_42"
],
"co_event_count": 14,
"first_co_seen_at": "2026-01-15T08:30:00.000Z",
"last_co_seen_at": "2026-08-20T19:41:00.000Z"
}
]
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "<string>",
"status": 429,
"retry_after": 2
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Read a contact's relationship graph (households and related contacts)
The per-contact view of the relationship graph implied by group events: the households/accounts the contact belongs to (with join and last-seen times plus member counts) and the other contacts who co-occur in those groups, ranked strongest-tie-first with the shared-group count, a capped shared-group id sample, and first/last co-seen timestamps. Everything is derived on read from existing group events — no precomputation. Use it to answer ‘who else is in this person’s household or account?’. Owner / admin / developer with the contacts:read scope.
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationshipsimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships', 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.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships"
req, _ := http.NewRequest("GET", url, nil)
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.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/contacts/{contact_id}/relationships")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"contact_id": "cnt_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"min_shared_groups": 1,
"limit": 50,
"offset": 0,
"groups_returned": 1,
"groups": [
{
"group_id": "grp_household_42",
"joined_at": "2026-01-15T08:30:00.000Z",
"last_seen_at": "2026-08-20T19:41:00.000Z",
"member_count": 3
}
],
"relationships_returned": 1,
"relationships": [
{
"contact_id": "cnt_02A9B8C7D6E5F4G3H2I1J0K9L8",
"display_name": "Jordan Miles",
"company": null,
"shared_group_count": 1,
"shared_groups": [
"grp_household_42"
],
"co_event_count": 14,
"first_co_seen_at": "2026-01-15T08:30:00.000Z",
"last_co_seen_at": "2026-08-20T19:41:00.000Z"
}
]
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "<string>",
"status": 429,
"retry_after": 2
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Path Parameters
Response
The focal contact's relationship-graph node: groups (memberships) and relationships (related contacts, strongest ties first).
The focal contact's relationship-graph node: groups (memberships) and relationships (related contacts, strongest ties first).