GET
/
crm
/
v3
/
objects
/
partner_clients
/
{partnerClientId}
/
associations
/
{toObjectType}
List associations of a partner client by type
curl --request GET \
  --url https://api.hubapi.com/crm/v3/objects/partner_clients/{partnerClientId}/associations/{toObjectType} \
  --header 'Authorization: Bearer <token>'
{
  "paging": {
    "next": {
      "after": "NTI1Cg%3D%3D",
      "link": "?after=NTI1Cg%3D%3D"
    },
    "prev": {
      "before": "<string>",
      "link": "<string>"
    }
  },
  "results": [
    {
      "id": "<string>",
      "type": "deal_to_contact"
    }
  ]
}
Supported products
Requires one of the following products or higher.
Marketing HubMarketing HubFree
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubFree

Required Scopes

This API requires one of the following scopes:
  • crm.objects.partner-clients.read

Authorizations

Authorization
string
header
required

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

Path Parameters

partnerClientId
string
required
toObjectType
string
required

Query Parameters

after
string

The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.

limit
integer
default:500

The maximum number of results to display per page.

includeFA
boolean
default:false

Response

200
application/json

successful operation

The response is of type object.