# Create a row in HubDB using API

**URL:** <https://community.hubspot.com/t/create-a-row-in-hubdb-using-api/127584>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [March 8, 2025, 1:41am UTC](https://community.hubspot.com/t/create-a-row-in-hubdb-using-api/127584 "2025-03-08T01:41:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisChu](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@ChrisChu](https://community.hubspot.com/u/ChrisChu)\
**Post date:** [March 8, 2025, 1:41am UTC](https://community.hubspot.com/t/create-a-row-in-hubdb-using-api/127584/1 "2025-03-08T01:41:42Z")

</div>

I am using Python to create new rows in HubDB with the

[https://api.hubapi.com/hubdb/api/v2/tables/{tableid}/rows](https://api.hubapi.com/hubdb/api/v2/tables/%7Btableid%7D/rows) API, this works great to get the row created, but how do I set value for Page Path (hs\_path) column?

Any suggestions?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 10, 2025, 2:23pm UTC](https://community.hubspot.com/t/create-a-row-in-hubdb-using-api/127584/2 "2025-03-10T14:23:25Z")

</div>

Hey, @ChrisChu 👋 Do you have any examples of what you’ve already tried? Sometimes this is helpful in getting help from the community.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![ChrisChu](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@ChrisChu](https://community.hubspot.com/u/ChrisChu)\
**Post date:** [March 10, 2025, 2:38pm UTC](https://community.hubspot.com/t/create-a-row-in-hubdb-using-api/127584/3 "2025-03-10T14:38:31Z")

</div>

Hi Jaycee,

I have figured out. It’s unfortunate when I pulled the schema, the hs internal fields are not returned as part of the schema. I was able to figure it out by reviewing the response from GET for the rows. Based on the response, I figured hs\_path should be passed in as path

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 10, 2025, 2:59pm UTC](https://community.hubspot.com/t/create-a-row-in-hubdb-using-api/127584/4 "2025-03-10T14:59:48Z")

</div>

Hey @ChrisChu 👋 Thank you very much for taking the time to come back and let us know how you got unstuck! — Jaycee
