Get contacts and their transactions using api

Hello,

Is there a way to retrieve list of transactions with name of associated contact using rest api ?

Best regards,

Bastian

Hey, @bastian_r :waving_hand: Can you help clarify which endpoint(s) you want to use? For example, it might be Deals, Subscriptions, or Payments. You can find the full list of APIs and endpoints here. I ask because there isn’t a “transactions” API and that term might mean something different to you than it does to me or another community member.

Thanks! — Jaycee

Hello Jaycee. Thanks for your answer. I use deals endpoints.

Hey, @bastian_r :waving_hand: Thanks for clarifying. The real issue is that the batch endpoints will not return associations. There is not a workaround for that, unfortunately.

If you have a Content Hub — Professional or Enterprise subscription, Sales or Service Hub — Enterprise, using GraphQL is a viable option to explore. Otherwise, you’ll need to look into some combination of the Associations and Object APIs. Both offer batch endpoints, which may help make this a bit “easier”.

Have fun building! — Jaycee

Looks like some of my links failed. Here you go:

  • GraphQL
  • An article that might be helpful if you go the GraphQL route