Could you clarify what you're trying to access? Are you trying to access data in HubSpot from a Webhook URL you've setup externally? If so, this is not possible, our Webhooks functionality only supports sending data FROM HubSpot to your external Webhook URL.
this type of JSON will be sent through webhook.How can I get it from my function and then want to decode it and use it for make a specific task for a contact.
As this data is sent externally to your Webhook URL, it is up to you to decide what method is best to convert this from JSON into a format you can work with when creating tasks.
I am unable to make any recommendations as I do not know how your external tool works or what codebase you're working with. As such, you'll need to work with your team to address this question.
We are integrating SMS API using Webhook API from Hubspot.
While executing the process, through a https page, we are not getting the json file.
However, we know the method to parse/convert it to fetch the data we need which needs to be sent to our SMS API.
So, for this, we created a test workflow, and triggered the webhook. As per the documentation, the https should receive the json file sent by the Hubspot. Now, the only question is that how to get this json file.