# External Options from API

**URL:** <https://community.hubspot.com/t/external-options-from-api/79687>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [April 19, 2023, 10:02pm UTC](https://community.hubspot.com/t/external-options-from-api/79687 "2023-04-19T22:02:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FLeon\_1](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@FLeon\_1](https://community.hubspot.com/u/FLeon_1)\
**Post date:** [April 19, 2023, 10:02pm UTC](https://community.hubspot.com/t/external-options-from-api/79687/1 "2023-04-19T22:02:34Z")

</div>

Is there any way to get the external options for properties with externalOptions flag as true?

Example:

Property dealstage

URL:[https://api.hubapi.com/crm/v3/properties/deal/dealstage?properties=name,externalOptions,options](https://api.hubapi.com/crm/v3/properties/deal/dealstage?properties=name,externalOptions,options)

 ![Screenshot 2023-04-19 at 4.52.55 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/8/584e5149b1c0b6639bcd2eb0ba7028c9928b49b5.png)

For the integration i am building i need the options for this field.

---

<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:** [April 20, 2023, 7:34pm UTC](https://community.hubspot.com/t/external-options-from-api/79687/2 "2023-04-20T19:34:49Z")

</div>

Hi, @FLeon. Thanks for reaching out. To confirm, your goal is to get the values for dealstage? For a specific pipeline? Is that correct?

One suggestion — have you tried the [Return all stages of a pipeline endpoint](https://developers.hubspot.com/docs/api/crm/pipelines)? **GET** `/crm/v3/pipelines/{objectType}/{pipelineId}/stages`

If you need to get your Pipeline IDs, you can use this endpoint — Retrieve all pipelines. **GET** `/crm/v3/pipelines/{objectType}```

You can find the pipelineId, and the internal value for specific stages, in-app via Settings \> Object \> Deals \> Pipelines

 ![CleanShot 2023-04-20 at 13.31.15@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/b/8bbd334d97c91656c173632cf6a4835769225e71.png)

If this is not what you are after, let the community know and we’ll do our best to help.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![FLeon\_1](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@FLeon\_1](https://community.hubspot.com/u/FLeon_1)\
**Post date:** [April 20, 2023, 7:47pm UTC](https://community.hubspot.com/t/external-options-from-api/79687/3 "2023-04-20T19:47:19Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) thi is very helpful but i am looking for a more generic endpoint. When i retrieve properties for Deal Object i see that some of them have externalOptions as true so the options list is empty, i need to retrieve the options for all of them. I used deal stage as an example but there are others in which i have the same requirement

 ![Screenshot 2023-04-20 at 2.42.33 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/9/295310d15ec25c581772aa686290e7566157110a.png)

Is there a way to fetch all external Options? i have been checking in Hubspot console and i found this request but it seems to work only if it is called from Hubspot Frontend.

| GET | [https://app.hubspot.com/api/external-options/v2/pagedFetch/0-3/PIPELINE\_STAGE?useIndexOffset=true&portalId=24228985&clienttimeout=14000&hs\_static\_app=property-edit-modal-ui&hs\_static\_app\_version=1.23249&limit=10&q=&offset=0&includeDeleted=false](https://app.hubspot.com/api/external-options/v2/pagedFetch/0-3/PIPELINE%5C_STAGE?useIndexOffset=true&portalId=24228985&clienttimeout=14000&hs%5C_static%5C_app=property-edit-modal-ui&hs%5C_static%5C_app%5C_version=1.23249&limit=10&q=&offset=0&includeDeleted=false) |
| --- | --- |

I would need something like that in the API. Does that exist? is there a way to achieve that using API endpoints?  
Thanks a lot for your response!

---

<div class="post-metadata">

**Author:** ![SBussey](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@SBussey](https://community.hubspot.com/u/SBussey)\
**Post date:** [July 10, 2023, 6:16pm UTC](https://community.hubspot.com/t/external-options-from-api/79687/4 "2023-07-10T18:16:15Z")

</div>

Unfortunately, this isn’t possible in the public API. I’m hoping HubSpot will add this because it’s very difficult to work with enumeration properties otherwise.

---

<div class="post-metadata">

**Author:** ![TGreen35](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@TGreen35](https://community.hubspot.com/u/TGreen35)\
**Post date:** [July 24, 2023, 11:43pm UTC](https://community.hubspot.com/t/external-options-from-api/79687/5 "2023-07-24T23:43:55Z")

</div>

Hi SBussey! I’m running into this problem as well. What solutions have you used so far to work around the api’s limitations? I’m hoping there’s a workaround of some sort, I’m lost as to if there’s even any sort of way I could manually find out the names of property options so that I could add them to my db and update those options programatically in the future?

---

<div class="post-metadata">

**Author:** ![SBussey](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@SBussey](https://community.hubspot.com/u/SBussey)\
**Post date:** [July 25, 2023, 1:46am UTC](https://community.hubspot.com/t/external-options-from-api/79687/6 "2023-07-25T01:46:17Z")

</div>

There’s no API that can do it. I submitted it as an idea, but no workaround today.

You can piece together certain fields like user ID or pipeline stages by manually querying and piecing together what the correct options should be. But there’s no single API to do it, and some fields have values that can’t be queried in any way.

---

<div class="post-metadata">

**Author:** ![BHoekstra](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@BHoekstra](https://community.hubspot.com/u/BHoekstra)\
**Post date:** [February 22, 2024, 6:52pm UTC](https://community.hubspot.com/t/external-options-from-api/79687/7 "2024-02-22T18:52:06Z")

</div>

Hello [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) I know this is an older post but wanted to follow up on if there has been any work around or if there is now any way to fetch external options using the API?  
Also is there any easy way to work with properties with enumerated values (i.e reading and updating values for enumerated fields as currently we have to somehow pull the internal id/value for each option.  
I’m currently using the python SDK and am utilizing the get\_all function to get all contacts properties and their values:

api\_client.crm.properties.core\_api.get\_all(object\_type=‘contacts’)

Unfortunately as has already been stated any of the properties with external\_options as true returns an empty options list.

 ![BHoekstra_0-1708627458049.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/4/459995b2227e97c3b42d25be67032e58a9883f06.png)

Any follow up or help is much appreciated, thanks in advance!
