#xarm
1 messages · Page 1 of 1 (latest)
Hello! It depends on your integration, really. If expanding fits your use case better you should use it. If fetching the Subscription alone works better, go with that. 🙂
ok thanks, I guess a sort of side question was if expansion would be deprecated at any point or if I can trust it. From your recommendation I presume I can trust it. Thanks
Expansion isn't going anywhere, and it's quite useful and encouraged over making many separate API calls most of the time!
ah ok, thanks for the info
one last question sorry, how does one request an expanded event object before hand?
Like for a webhook?
yeah, to receive on the webhook the expanded object, with subscription
Unfortunately you can't do that. You would need to fetch the information from the API after receiving the event.
ah ok thanks. So in the end I'd have to send a request to the API regardless, no worries. Initially I was hoping I could get all the info I needed from the event itself.
I'll look into requesting from the API then, thanks
Happy to help!