Pular para o conteúdo principal
GET
/
crm
/
associations
/
v4
/
{fromObjectType}
/
{toObjectType}
/
labels
Retrieve labels for associations between two object types.
curl --request GET \
  --url https://api.hubapi.com/crm/associations/v4/{fromObjectType}/{toObjectType}/labels \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "category": "HUBSPOT_DEFINED",
      "typeId": 123,
      "label": "<string>"
    }
  ],
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    },
    "prev": {
      "before": "<string>",
      "link": "<string>"
    }
  }
}

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

fromObjectType
string
obrigatório

The type of the source object in the association.

toObjectType
string
obrigatório

The type of the target object in the association.

Resposta

successful operation

results
object[]
obrigatório
paging
object
Last modified on January 14, 2026