# Deal Id via webhooks

**URL:** <https://community.hubspot.com/t/deal-id-via-webhooks/128294>\
**Category:** APIs & Integrations\
**Tags:** enterprise\
**Created:** [March 19, 2025, 8:59pm UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294 "2025-03-19T20:59:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SGallagher5](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@SGallagher5](https://community.hubspot.com/u/SGallagher5)\
**Post date:** [March 19, 2025, 8:59pm UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/1 "2025-03-19T20:59:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [March 20, 2025, 10:57am UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/2 "2025-03-20T10:57:13Z")

</div>

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](https://developers.hubspot.com/docs/guides/api/app-management/webhooks)  
- [Use webhooks with HubSpot workflows](https://knowledge.hubspot.com/workflows/how-do-i-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](https://community.hubspot.com/t5/APIs-Integrations/Webhook-Package-doesn-t-contain-Deal-ID/m-p/496325)” 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](https://community.hubspot.com/t5/APIs-Integrations/Create-a-new-Deal-via-Workflow-when-a-Webhook-is-received/m-p/1120090)” that might help you!  
And you might as well check this thread out “[Do Deal Workflow Webhooks Contain Data on the Associated Products?](https://community.hubspot.com/t5/CRM/Do-Deal-Workflow-Webhooks-Contain-Data-on-the-Associated/m-p/293012)” that might be of interest.  
Let me know if you have any questions!  
Have a beautiful day! 🌞  
Warmly,  
Bérangère

---

<div class="post-metadata">

**Author:** ![SGallagher5](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@SGallagher5](https://community.hubspot.com/u/SGallagher5)\
**Post date:** [March 20, 2025, 2:00pm UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/3 "2025-03-20T14:00:40Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [March 20, 2025, 6:14pm UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/4 "2025-03-20T18:14:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SGallagher5](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@SGallagher5](https://community.hubspot.com/u/SGallagher5)\
**Post date:** [March 20, 2025, 6:28pm UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/5 "2025-03-20T18:28:10Z")

</div>

**thanks Steve.**

**could you give me an example of a correctly formatted date**

**thsnks**

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [March 20, 2025, 7:04pm UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/6 "2025-03-20T19:04:40Z")

</div>

Reference: [https://en.wikipedia.org/wiki/ISO\_8601](https://en.wikipedia.org/wiki/ISO_8601)

---

<div class="post-metadata">

**Author:** ![SGallagher5](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@SGallagher5](https://community.hubspot.com/u/SGallagher5)\
**Post date:** [March 21, 2025, 6:07am UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/7 "2025-03-21T06:07:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [March 21, 2025, 2:52pm UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/8 "2025-03-21T14:52:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [March 24, 2025, 2:14pm UTC](https://community.hubspot.com/t/deal-id-via-webhooks/128294/9 "2025-03-24T14:14:37Z")

</div>

Hi @SGallagher5, thanks for the precision!  
Here is an article “[New Standardization of date formats for HubSpot’s Form Submissions API](https://developers.hubspot.com/changelog/new-standardization-of-date-formats-for-hubspots-form-submissions-api)” that can be of interest.  
Also, the solution from [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) on this post “[Date format for imports API](https://community.hubspot.com/t5/APIs-Integrations/Date-format-for-imports-API/m-p/1054285)” and the reply from @SteveHTM might help you!  
Let us know if that worked for you?  
Have a great day!  
Warmly,  
Bérangère
