Passer au contenu principal
GET
/
crm
/
v3
/
objects
/
{objectType}
/
{objectId}
Lu
curl --request GET \
  --url https://api.hubapi.com/crm/v3/objects/{objectType}/{objectId} \
  --header 'Authorization: Bearer <token>'
{
  "archived": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "properties": {},
  "updatedAt": "2023-11-07T05:31:56Z",
  "archivedAt": "2023-11-07T05:31:56Z",
  "associations": {},
  "objectWriteTraceId": "<string>",
  "propertiesWithHistory": {}
}

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Entreprise
Sales HubSales Hub -Entreprise
Service HubService Hub -Entreprise
Content HubContent Hub -Entreprise

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Paramètres de chemin

objectId
string
requis
objectType
string
requis

Paramètres de requête

archived
boolean
défaut:false

S'il faut renvoyer uniquement les résultats qui ont été archivés.

associations
string[]

Une liste d'objets séparés par des virgules pour lesquels les ID associés doivent être récupérés. Si l'une des associations spécifiées n'existe pas, elle sera ignorée.

idProperty
string

Le nom d'une propriété dont les valeurs sont uniques pour cet objet

properties
string[]

Une liste des propriétés séparées par des virgules à renvoyer dans la réponse. Si l'une des propriétés spécifiées n'est pas présente sur l'objet ou les objets demandé(s), elle sera ignorée.

propertiesWithHistory
string[]

Une liste des propriétés séparées par des virgules à retourner avec leur historique des valeurs précédentes. Si l'une des propriétés spécifiées n'est pas présente sur l'objet ou les objets demandé(s), elle sera ignorée.

Réponse

successful operation

Represents a CRM object along with its properties, timestamps, and a set of associated object IDs grouped by association type.

archived
boolean
requis

Whether the object is archived.

createdAt
string<date-time>
requis

The timestamp when the object was created, in ISO 8601 format.

id
string
requis

The unique ID of the object.

properties
object
requis

Key value pairs representing the properties of the object.

updatedAt
string<date-time>
requis

The timestamp when the object was last updated, in ISO 8601 format.

archivedAt
string<date-time>

The timestamp when the object was archived, in ISO 8601 format.

associations
object

A list defining relationships with other objects.

objectWriteTraceId
string
propertiesWithHistory
object

Key-value pairs representing the properties of the object along with their history.

Last modified on December 8, 2025