# Contact API change? (How changeable are API responses?)

**URL:** <https://community.hubspot.com/t/contact-api-change-how-changeable-are-api-responses/11254>\
**Category:** APIs & Integrations\
**Created:** [September 24, 2018, 8:21am UTC](https://community.hubspot.com/t/contact-api-change-how-changeable-are-api-responses/11254 "2018-09-24T08:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stewart1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stewart1/32/3472_2.png) [@stewart1](https://community.hubspot.com/u/stewart1)\
**Post date:** [September 24, 2018, 8:21am UTC](https://community.hubspot.com/t/contact-api-change-how-changeable-are-api-responses/11254/1 "2018-09-24T08:21:57Z")

</div>

I’m fairly sure that about a week ago I was using the Contacts API “Get all contacts” and was processing a returned Json array.

Today I see that the Json array is nested inside a Json object. You have to get the array “contacts” to process as I was doing.

This is spooky because it means either:

1. I’m going slightly mad because I committed broken code which I was sure was working
2. Hubspot changed the API response

Can anyone help me know which it is? I’m willing to admit it might be my own failing …

---

<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:** [September 26, 2018, 1:02pm UTC](https://community.hubspot.com/t/contact-api-change-how-changeable-are-api-responses/11254/2 "2018-09-26T13:02:50Z")

</div>

Hey @stewart,

To my knowledge, the Contacts API has always returned a JSON object containing the `"contacts"` array. I looked into the revision history of the [Get all contacts](https://developers.hubspot.com/docs/methods/contacts/get_contacts) article and the example code has shown a JSON object since it was added in 2014.
