Skip to main content
GET
/
objects
/
{object_name}
/
records
/
{record_id}
cURL
curl --request GET \
  --url https://api.unifygtm.com/data/v1/objects/{object_name}/records/{record_id} \
  --header 'x-api-key: <api-key>'
{
  "status": "success",
  "data": {
    "object": "<string>",
    "id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "attributes": {}
  }
}

Overview

The get method retrieves a single record by its ID from the specified object. This is the most accurate way to fetch a specific record when you know its ID. If the record doesn’t exist, an error will be returned.

Examples

This retrieves a specific company record:
GET /objects/company/records/de885595-2d9a-4fb9-ae30-25ef18b6219b
This retrieves a record from a custom object:
GET /objects/product_user/records/6741cc39-b332-45a8-a439-75b69db998b1

Usage

Authorizations

x-api-key
string
header
required

Path Parameters

object_name
string
required
record_id
string
required

Response

Response for a successful get operation.

status
enum<string>
required
Available options:
success
data
object
required
I