Yes, that's right. The Associations API has clear definitions between endpoints that manage the definition of association types (e.g. making it possible to associate individual records) and those that manage associations between individual records.
To retrieve associations between individual records, you'll want to use the "Retrieve associated records" endpoint (see "Retrieve associated records" section in this documentation).
I hope that proves helpful. Please let me know if you have any follow-up questions.
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia
As per HubSpot's API docs (see "Retrieve association limits" section), the GET /crm/v4/associations/definitions/configurations/all API endpoint is intended for you to "read all defined association limits". It returns "custom association limits defined across all objects".
It sounds like you might be more interested in using the "Create and manage association types" section within the relevant HubSpot API documentation?
I hope that proves helpful. Please let me know if you have any follow-up questions.
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia
The "Create and manage association types" API returns no association from contacts to appointments, which is why I used the read all defined associationlimits" to check on all associations.
Yes, that's right. The Associations API has clear definitions between endpoints that manage the definition of association types (e.g. making it possible to associate individual records) and those that manage associations between individual records.
To retrieve associations between individual records, you'll want to use the "Retrieve associated records" endpoint (see "Retrieve associated records" section in this documentation).
I hope that proves helpful. Please let me know if you have any follow-up questions.
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia
Thank you for your clarification and persistence, your answers helped me in finding the problem I had. I used the api's you suggested using the pyton requests package:
So in conclusion, the association labels of the new objects do definitely work with the api, but I couldn't get it to work using the current version of the HubSpot python api and switched to using the regular requests package.
Thanks for the information and references. I would like to add that the records itself from appointsments are accessible via the API, including the existing associations that are made.
The problem that I face is that I cannot find the associations schema and add associations to objects.
For more context, I want to use the appointments objects to track our events, where I connect contacts to the appointments with a no-show, show, registered or canceled label. For example, our operational manager will upload the show list of the event to HubSpot, where a custom coded action will update all the associations labels of the contacts to the event.