Hubspot API Deals API not returning associations

Greetings!

Im trying to call the hubspot API to get associations for deals like contacts etc and it doesnt seem to be working,

URL - https://api.hubapi.com/crm/v3/objects/deals?associations=contacts&limit=100

This is what I see coming back,

What am I missing here?

Hi @Ashwinkumar

Every thing is fine in above screenshot provided by you. The concept behind this when a deal is not associated with any contact then it will not return associations property. In below screenshot you can see 2 deals, where one deal have associations property and second doesn’t have it.

Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member.
Thanks!