Get a CRM object
curl --request GET \
--url https://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}', 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://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}",
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://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}"
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://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}")
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": {
"id": "<string>",
"type": "deal",
"name": "<string>",
"url": "<string>",
"owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"linked_call_count": 123,
"last_activity_at": "2023-11-07T05:31:56Z",
"next_meeting_at": "2023-11-07T05:31:56Z",
"summary": "<string>",
"summary_updated_at": "2023-11-07T05:31:56Z",
"risks": [
"<string>"
],
"meters": [
{
"meter_id": "<string>",
"state_id": "<string>",
"state": "<string>",
"source": "ai"
}
],
"stage_id": "<string>",
"stage": "<string>",
"pipeline_id": "<string>",
"pipeline": "<string>",
"amount": 123,
"currency": "<string>",
"close_date": "<string>",
"is_closed": true,
"domain": "<string>",
"email": "<string>",
"phone": "<string>",
"created_at": "<string>",
"playbook": {
"average_score": 123,
"scored_call_count": 123
},
"team": [
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"associations": [
{
"type": "deal",
"id": "<string>",
"name": "<string>"
}
],
"evidence": {
"meetings": 123,
"emails": 123
}
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}CRM
Get a CRM object
Gets one CRM object as the Pulse detail page shows it: the list fields, plus the playbook score, the members on its linked calls, its associated records and how much activity backs it. A call’s crm_objects[] entry (type, id) points here. An object the CRM does not know answers 404. Read live from the CRM. Counts against the lower CRM rate limit (20 requests a minute per API key, 40 per company). Only API keys with access to all workspaces can read CRM records, and the company needs Pulse turned on. Requires crm.read.
GET
/
crm-objects
/
{type}
/
{crmObjectId}
Get a CRM object
curl --request GET \
--url https://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}', 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://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}",
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://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}"
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://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.triplesession.com/api/public/v2/crm-objects/{type}/{crmObjectId}")
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": {
"id": "<string>",
"type": "deal",
"name": "<string>",
"url": "<string>",
"owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"linked_call_count": 123,
"last_activity_at": "2023-11-07T05:31:56Z",
"next_meeting_at": "2023-11-07T05:31:56Z",
"summary": "<string>",
"summary_updated_at": "2023-11-07T05:31:56Z",
"risks": [
"<string>"
],
"meters": [
{
"meter_id": "<string>",
"state_id": "<string>",
"state": "<string>",
"source": "ai"
}
],
"stage_id": "<string>",
"stage": "<string>",
"pipeline_id": "<string>",
"pipeline": "<string>",
"amount": 123,
"currency": "<string>",
"close_date": "<string>",
"is_closed": true,
"domain": "<string>",
"email": "<string>",
"phone": "<string>",
"created_at": "<string>",
"playbook": {
"average_score": 123,
"scored_call_count": 123
},
"team": [
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"associations": [
{
"type": "deal",
"id": "<string>",
"name": "<string>"
}
],
"evidence": {
"meetings": 123,
"emails": 123
}
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}Authorizations
Path Parameters
Was this page helpful?

