Pular para o conteúdo principal
GET
/
crm
/
v3
/
objects
/
subscriptions
/
{subscriptionId}
Retrieve a subscription.
curl --request GET \
  --url https://api.hubapi.com/crm/v3/objects/subscriptions/{subscriptionId} \
  --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": {}
}

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Grátis
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Grátis

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

subscriptionId
string
obrigatório

Parâmetros de consulta

archived
boolean
padrão:false

Whether to return only archived results.

associations
string[]

A list of associated object types to include in the response.

idProperty
string

The name of a unique identifier property, which can be used for identifying objects instead of the object ID.

properties
string[]

A list of property names to include in the response.

propertiesWithHistory
string[]

A list of property names to include in the response, along with their history.

Resposta

successful operation

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

archived
boolean
obrigatório

Whether the object is archived.

createdAt
string<date-time>
obrigatório

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

id
string
obrigatório

The unique ID of the object.

properties
object
obrigatório

Key value pairs representing the properties of the object.

updatedAt
string<date-time>
obrigatório

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 18, 2025