# Hubspot API Sandbox

**URL:** <https://community.hubspot.com/t/hubspot-api-sandbox/11233>\
**Category:** APIs & Integrations\
**Created:** [March 1, 2017, 4:46am UTC](https://community.hubspot.com/t/hubspot-api-sandbox/11233 "2017-03-01T04:46:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [March 1, 2017, 4:46am UTC](https://community.hubspot.com/t/hubspot-api-sandbox/11233/1 "2017-03-01T04:46:24Z")

</div>

Is there a way to setup a proper sandbox for the API to test endpoint data and confirm information being is transmitted correctly?

---

<div class="post-metadata">

**Author:** ![3PETE](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/3pete/32/61905_2.png) [@3PETE](https://community.hubspot.com/u/3PETE)\
**Post date:** [March 1, 2017, 2:42pm UTC](https://community.hubspot.com/t/hubspot-api-sandbox/11233/2 "2017-03-01T14:42:41Z")

</div>

[@Tidyl](https://community.hubspot.com/u/tidyl) If you set up a developer portal you can set up a test portal that is connected to it. The test portals last about 90 days.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [March 1, 2017, 3:10pm UTC](https://community.hubspot.com/t/hubspot-api-sandbox/11233/3 "2017-03-01T15:10:09Z")

</div>

I need a longer term solution than that. That will break the test suite if it disappears.

---

<div class="post-metadata">

**Author:** ![3PETE](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/3pete/32/61905_2.png) [@3PETE](https://community.hubspot.com/u/3PETE)\
**Post date:** [March 2, 2017, 6:20pm UTC](https://community.hubspot.com/t/hubspot-api-sandbox/11233/4 "2017-03-02T18:20:14Z")

</div>

[@Tidyl](https://community.hubspot.com/u/tidyl) You can refresh the test portal for it to last another 90 days. This refresh is not automatic though and needs to be done manually. If that still doesn’t provide you with the type of solution you need then my apologies, as at the moment that is all that HubSpot has for sandboxes.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 18, 2018, 8:44am UTC](https://community.hubspot.com/t/hubspot-api-sandbox/11233/5 "2018-10-18T08:44:51Z")

</div>

What sandbox endpoint should be for create new contact? [https://api.hubapi.com](https://api.hubapi.com) ?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [October 19, 2018, 1:02pm UTC](https://community.hubspot.com/t/hubspot-api-sandbox/11233/6 "2018-10-19T13:02:28Z")

</div>

Hi [@Denis\_Makarenko](https://community.hubspot.com/u/denis_makarenko),

There are no “sandbox endpoints,” just the [public endpoints](https://developers.hubspot.com/docs/overview) used with test (sandbox) portals. If you wish to create a new contact, use [this endpoint](https://developers.hubspot.com/docs/methods/contacts/create_contact).

I will close this topic now as it’s quite old, but feel free to start a new topic if you have follow-up questions, Denis.
