curl --request GET \
--url https://api.octolane.com/v1/{object_type}/{object_id}/history \
--header 'x-api-key: <api-key>'import requests
url = "https://api.octolane.com/v1/{object_type}/{object_id}/history"
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.octolane.com/v1/{object_type}/{object_id}/history', 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.octolane.com/v1/{object_type}/{object_id}/history",
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.octolane.com/v1/{object_type}/{object_id}/history"
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.octolane.com/v1/{object_type}/{object_id}/history")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.octolane.com/v1/{object_type}/{object_id}/history")
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{
"success": true,
"message": "<string>",
"data": {
"metadata": {
"total": 3,
"page": 1,
"limit": 20
},
"historicalData": [
{
"property_name": "opportunity_stage",
"property_label": "Stage",
"old_value": {
"value": "<unknown>"
},
"new_value": {
"value": "<unknown>"
},
"old_value_label": "Meeting Booked",
"new_value_label": "In Conversation",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "One Chowdhury"
},
"created_at": "2026-08-13T18:48:34.509Z"
}
]
}
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}Get record field history
Returns the field-change history for a record, newest first: which field changed, the previous and new values, who made the change, and when. user is null for system or AI-generated changes such as enrichment and workflows. old_value_label and new_value_label are set for reference-type values (currently opportunity stages); other fields return their raw values. History is recorded from the point change tracking was enabled for your workspace; earlier changes are not available. In place of the x-api-key header, the API key may also be sent as Authorization: Bearer YOUR_API_KEY. Rate limits: 300 requests per minute and 100,000 requests per month, shared across v1 read endpoints.
curl --request GET \
--url https://api.octolane.com/v1/{object_type}/{object_id}/history \
--header 'x-api-key: <api-key>'import requests
url = "https://api.octolane.com/v1/{object_type}/{object_id}/history"
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.octolane.com/v1/{object_type}/{object_id}/history', 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.octolane.com/v1/{object_type}/{object_id}/history",
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.octolane.com/v1/{object_type}/{object_id}/history"
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.octolane.com/v1/{object_type}/{object_id}/history")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.octolane.com/v1/{object_type}/{object_id}/history")
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{
"success": true,
"message": "<string>",
"data": {
"metadata": {
"total": 3,
"page": 1,
"limit": 20
},
"historicalData": [
{
"property_name": "opportunity_stage",
"property_label": "Stage",
"old_value": {
"value": "<unknown>"
},
"new_value": {
"value": "<unknown>"
},
"old_value_label": "Meeting Booked",
"new_value_label": "In Conversation",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "One Chowdhury"
},
"created_at": "2026-08-13T18:48:34.509Z"
}
]
}
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}Authorizations
Public API key for the Octolane organization.
Path Parameters
Object collection the record belongs to.
accounts, contacts, opportunities The record ID.
Query Parameters
Restrict history to a single field, identified by its stable property name (for example opportunity_stage).
Page number.
x >= 1Entries per page.
1 <= x <= 100Was this page helpful?