# Identifying read only properties

**URL:** <https://community.hubspot.com/t/identifying-read-only-properties/108725>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [June 5, 2024, 4:39pm UTC](https://community.hubspot.com/t/identifying-read-only-properties/108725 "2024-06-05T16:39:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon-fellsoft](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/simon-fellsoft/32/5488_2.png) [@simon-fellsoft](https://community.hubspot.com/u/simon-fellsoft)\
**Post date:** [June 5, 2024, 4:39pm UTC](https://community.hubspot.com/t/identifying-read-only-properties/108725/1 "2024-06-05T16:39:44Z")

</div>

So, some property values on HubSpot are readonly because they are set by HubSpot automatically in some way.

Using the API, when I’m looking at a property, how can I reliably identify whether I can change the value or not?

At the moment I’m assuming anything that has a “calculated” value of “true” or where the description includes “automatically set by HubSpot” is readonly.

Is that the best approach?

---

<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:** [June 5, 2024, 5:47pm UTC](https://community.hubspot.com/t/identifying-read-only-properties/108725/2 "2024-06-05T17:47:21Z")

</div>

@simon-fellsoft - have you tried using the properties API to discover the characteristics of a given object property? For example:

[https://api.hubapi.com/crm/v3/properties/{objectType}/{propertyName}](https://api.hubapi.com/crm/v3/properties/%7BobjectType%7D/%7BpropertyName%7D)

I’ve always found this to be pretty comprehensive and useful.

Steve

---

<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:** [June 5, 2024, 5:47pm UTC](https://community.hubspot.com/t/identifying-read-only-properties/108725/3 "2024-06-05T17:47:41Z")

</div>

Hey, @simon-fellsoft 👋 The way I do it is to make a request to the [Properties API](https://developers.hubspot.com/docs/api/crm/properties) for either a specific property or all properties for an Object and look for `modificationMetadata`

```lia-code-sample
"modificationMetadata": {
 "archivable": true,
 "readOnlyDefinition": true,
 "readOnlyValue": true
...

```

I hope this helps get you moving forward! — Jaycee

---

<div class="post-metadata">

**Author:** ![simon-fellsoft](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/simon-fellsoft/32/5488_2.png) [@simon-fellsoft](https://community.hubspot.com/u/simon-fellsoft)\
**Post date:** [June 6, 2024, 9:03am UTC](https://community.hubspot.com/t/identifying-read-only-properties/108725/4 "2024-06-06T09:03:54Z")

</div>

Great, that looks like what I was after - thanks.

---

<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:** [June 6, 2024, 4:37pm UTC](https://community.hubspot.com/t/identifying-read-only-properties/108725/5 "2024-06-06T16:37:56Z")

</div>

Awesome! Thanks for letting us know that worked for you – Jaycee

---

<div class="post-metadata">

**Author:** ![simon-fellsoft](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/simon-fellsoft/32/5488_2.png) [@simon-fellsoft](https://community.hubspot.com/u/simon-fellsoft)\
**Post date:** [June 21, 2024, 9:03am UTC](https://community.hubspot.com/t/identifying-read-only-properties/108725/6 "2024-06-21T09:03:10Z")

</div>

Hi Jaycee,

Just noticed something that doesn’t seem to fit this pattern.

There is one HubSpot defined property - “hs\_feedback\_show\_nps\_web\_survey” - where the value of modificationMetadata/readOnlyValue is ‘false’ (meaning an app should be able to set the value through the API) but where the description includes the explanation "This is automatically set by HubSpot). Is this an error?
