# Updating Workflow Extension Definitions

**URL:** <https://community.hubspot.com/t/updating-workflow-extension-definitions/14868>\
**Category:** APIs & Integrations\
**Tags:** object, contacts\
**Created:** [June 19, 2019, 2:07pm UTC](https://community.hubspot.com/t/updating-workflow-extension-definitions/14868 "2019-06-19T14:07:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergiopascual](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sergiopascual/32/2401_2.png) [@sergiopascual](https://community.hubspot.com/u/sergiopascual)\
**Post date:** [June 19, 2019, 2:07pm UTC](https://community.hubspot.com/t/updating-workflow-extension-definitions/14868/1 "2019-06-19T14:07:16Z")

</div>

Hi,

We are doing an integration with Hubspot Api, but we need the Json or Swagger definition of these two end points:

**[https://api.hubapi.com/deals/v1/deal](https://api.hubapi.com/deals/v1/deal)**  
**[https://api.hubapi.com/contacts/v1/contact/batch/](https://api.hubapi.com/contacts/v1/contact/batch/)**

Do you know where we can find these definitions?

Many Thanks and regards

---

<div class="post-metadata">

**Author:** ![Derek\_Gervais](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derek_gervais/32/17429_2.png) [@Derek\_Gervais](https://community.hubspot.com/u/Derek_Gervais)\
**Post date:** [June 19, 2019, 9:12pm UTC](https://community.hubspot.com/t/updating-workflow-extension-definitions/14868/2 "2019-06-19T21:12:29Z")

</div>

Hey @sergiopascual ,

We don’t currently have swagger definitions for these APIs, but our developer documentation for each has example JSON:

[https://developers.hubspot.com/docs/methods/deals/create\_deal](https://developers.hubspot.com/docs/methods/deals/create_deal)

[https://developers.hubspot.com/docs/methods/contacts/batch\_create\_or\_update](https://developers.hubspot.com/docs/methods/contacts/batch_create_or_update)

Does that answer your question?
