Get cross-CRM context for a contact
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/contacts/{id}/crm-context \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/contacts/{id}/crm-context"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/contacts/{id}/crm-context', 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/contacts/{id}/crm-context",
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.orbit.devotel.io/api/v1/contacts/{id}/crm-context"
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.orbit.devotel.io/api/v1/contacts/{id}/crm-context")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/contacts/{id}/crm-context")
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{
"data": {
"links": [
{
"provider": "hubspot",
"external_id": "1024",
"record_type": "contact",
"record_url": "https://app.hubspot.com/contacts/1/contact/1024",
"status": "ok"
}
],
"deals": [
{
"provider": "hubspot",
"deal_id": "deal_8821",
"name": "Q1 Expansion",
"stage": "negotiation",
"amount": 12000,
"currency": "USD",
"close_date": "2026-03-31",
"url": "https://app.hubspot.com/deal/8821"
}
],
"activities": [],
"orders": [
{
"provider": "shopify",
"order_id": "5567",
"total": 149,
"currency": "USD",
"status": "paid",
"placed_at": "2026-01-20T10:00:00.000Z",
"url": "https://admin.shopify.com/orders/5567"
}
],
"lifetime_value": [
{
"provider": "shopify",
"currency": "USD",
"total": 149,
"order_count": 1
}
],
"sections": [
{
"provider": "hubspot",
"status": "ok",
"duration_ms": 142
},
{
"provider": "shopify",
"status": "ok",
"duration_ms": 210
}
],
"generated_at": "2026-02-02T12:00:00.000Z"
},
"meta": {
"request_id": "req_01HZX9MNOPQR",
"timestamp": "2026-02-02T12:00:00.000Z"
}
}Contacts
Get cross-CRM context for a contact
Return a normalised, cross-CRM overlay for one contact — linked records, deals/opportunities, recent activity, e-commerce orders and per-provider lifetime value — aggregated across every CRM the contact is linked to (HubSpot, Salesforce, Pipedrive, Zendesk, Intercom, Shopify, WooCommerce). One provider being slow or down never blanks the others; each provider’s outcome is reflected in its sections[].status. Powers the Inbox conversation CRM-context panel. Requires contacts:read (or contacts:write) scope; viewer-tier callers are rejected because the overlay can carry pipeline and deal-value data above their read scope.
GET
/
api
/
v1
/
contacts
/
{id}
/
crm-context
Get cross-CRM context for a contact
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/contacts/{id}/crm-context \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/contacts/{id}/crm-context"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/contacts/{id}/crm-context', 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/contacts/{id}/crm-context",
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.orbit.devotel.io/api/v1/contacts/{id}/crm-context"
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.orbit.devotel.io/api/v1/contacts/{id}/crm-context")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/contacts/{id}/crm-context")
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{
"data": {
"links": [
{
"provider": "hubspot",
"external_id": "1024",
"record_type": "contact",
"record_url": "https://app.hubspot.com/contacts/1/contact/1024",
"status": "ok"
}
],
"deals": [
{
"provider": "hubspot",
"deal_id": "deal_8821",
"name": "Q1 Expansion",
"stage": "negotiation",
"amount": 12000,
"currency": "USD",
"close_date": "2026-03-31",
"url": "https://app.hubspot.com/deal/8821"
}
],
"activities": [],
"orders": [
{
"provider": "shopify",
"order_id": "5567",
"total": 149,
"currency": "USD",
"status": "paid",
"placed_at": "2026-01-20T10:00:00.000Z",
"url": "https://admin.shopify.com/orders/5567"
}
],
"lifetime_value": [
{
"provider": "shopify",
"currency": "USD",
"total": 149,
"order_count": 1
}
],
"sections": [
{
"provider": "hubspot",
"status": "ok",
"duration_ms": 142
},
{
"provider": "shopify",
"status": "ok",
"duration_ms": 210
}
],
"generated_at": "2026-02-02T12:00:00.000Z"
},
"meta": {
"request_id": "req_01HZX9MNOPQR",
"timestamp": "2026-02-02T12:00:00.000Z"
}
}⌘I