Deal Id via webhooks

Hi,
I am trying to send a Deal Id via a webhook but I can only access merged Id’s.

Is there a way to do this?

Thanks

Hi @SGallagher5, I hope that you are well!
Great question, thanks for asking the HubSpot Community!
First, for information, I’d like to share these resources on the topic:
- Webhooks
- Use webhooks with HubSpot workflows
Have you tried using the “objectId”? I can see on this similar thread “Webhook Package doesn’t contain Deal ID” that you might use this. Have a look at this thread, it might give you ideas.
I have found for you the solution from @MichaelMa on this post “Create a new Deal via Workflow when a Webhook is received” that might help you!
And you might as well check this thread out “Do Deal Workflow Webhooks Contain Data on the Associated Products?” that might be of interest.
Let me know if you have any questions!
Have a beautiful day! :sun_with_face:
Warmly,
Bérangère

Thanks I’ve got it now.
I am now trying to send a date back to into Hubspot via the API. What format does the date need to be in? Is it Unix?

Most often ISO an format string is what works, but the format needs to be exact (especially regarding a zero minute value if the property you are updating is a date type).

Steve

thanks Steve.

could you give me an example of a correctly formatted date

thsnks

Reference: https://en.wikipedia.org/wiki/ISO_8601

Hi Steve,
I just tried 2024:09:27T12:00:00 but didn’t have any luck with that either. Any thoughts?
Thanks

When you say “didn’t have any luck” - what exactly are you seeing?
Experience suggests that you will typically need a timezone indication. Please reference the API documentation for some typical cases.

Example: 2025-03-20T17:56:34.344Z and remember that for a ‘date’ type the hours/min/sec part will be required to be zeros.

Steve

Hi @SGallagher5, thanks for the precision!
Here is an article “New Standardization of date formats for HubSpot’s Form Submissions API” that can be of interest.
Also, the solution from @Mike_Eastwood on this post “Date format for imports API” and the reply from @SteveHTM might help you!
Let us know if that worked for you?
Have a great day!
Warmly,
Bérangère