<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dropdown values in API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1210900#M84892</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/532857"&gt;@THa51&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to see all values of a property, you can use CRM Properties API as&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;mentioned. In particular, you can use the GET endpoint and include your property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://api.hubapi.com/crm/v3/properties/0-1/advert_source&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will return all of the dropdown options, containing the label and the value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When trying to add/update a contact record via the API, it is important that the data matches the &lt;STRONG&gt;value&lt;/STRONG&gt; (not the label).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in your case, if your dropdown option looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "label": "Facebook - Week",
    "value": "Facebook - Week",
    "displayOrder": 1,
    "hidden": false
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you try to pass "Facebook - WEEK", then then it would fail and contact record would not be updated/created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you would either need to change the data you are passing or update your dropdown option value to match the data you are passing, i.e.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "label": "Facebook - Week",
    "value": "Facebook - WEEK",
    "displayOrder": 1,
    "hidden": false
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Fri, 10 Oct 2025 14:27:13 GMT</pubDate>
    <dc:creator>evaldas</dc:creator>
    <dc:date>2025-10-10T14:27:13Z</dc:date>
    <item>
      <title>Dropdown values in API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1210756#M84881</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been googling to see if there's a hubspot API to search for a contact's properties dropdown list of values via api. I know you can list all a contact's property's drop down, but is there a way to just search to see if there is a match for the drop down if the list is very long?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to see of drop down list values are case sensitive. Eg:&lt;/P&gt;&lt;P&gt;We have a custom contact field called "advert_source". The values for this field are pre-defined dropdown list of values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to ascertain whether the values:&lt;/P&gt;&lt;P&gt;Facebook - Week&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;Facebook - WEEK&lt;/P&gt;&lt;P&gt;are the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meaning if the drop down list contains&amp;nbsp;&lt;/P&gt;&lt;P&gt;AAA&lt;/P&gt;&lt;P&gt;BBB&lt;/P&gt;&lt;P&gt;CCC&lt;/P&gt;&lt;P&gt;Facebook - Week&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in the api, I submit the value "Facebook - WEEK", should this fail?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 06:30:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1210756#M84881</guid>
      <dc:creator>THa51</dc:creator>
      <dc:date>2025-10-10T06:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown values in API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1210810#M84888</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/532857"&gt;@THa51&lt;/a&gt;&lt;/SPAN&gt; and Happy Friday!&lt;BR /&gt;&lt;BR /&gt;Thanks so much for sharing your question and for detailing your use case around dropdown property values and API behavior with the HubSpot Community.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To answer your main question: dropdown values in HubSpot are case sensitive.&lt;BR /&gt;&lt;BR /&gt;So, if your “advert_source” dropdown property contains “Facebook - Week” (with a capital “W”), submitting “Facebook - WEEK” (all caps) via the API will generally result in a mismatch or error, as the exact value must match one of the defined options.&lt;BR /&gt;&lt;BR /&gt;This applies both when updating a contact via the API and when searching for matching dropdown options.&lt;BR /&gt;&lt;BR /&gt;Also, here is a documentation "&lt;A href="https://developers.hubspot.com/docs/api-reference/crm-properties-v3/guide" target="_blank"&gt;CRM API | Properties&lt;/A&gt;" that can help you.&lt;BR /&gt;&lt;BR /&gt;Now, let's check with our Top Experts: Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/794297"&gt;@KhushbooP11&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/952846"&gt;@NMetnik&lt;/a&gt;&lt;/SPAN&gt; do you know of a way via the HubSpot API to search for a specific value (rather than list all values) in a contact property’s dropdown list, especially if the list is very long, please?&lt;BR /&gt;&lt;BR /&gt;Have a lovely weekend and thanks so much!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 09:36:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1210810#M84888</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-10-10T09:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown values in API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1210900#M84892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/532857"&gt;@THa51&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to see all values of a property, you can use CRM Properties API as&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;mentioned. In particular, you can use the GET endpoint and include your property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://api.hubapi.com/crm/v3/properties/0-1/advert_source&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will return all of the dropdown options, containing the label and the value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When trying to add/update a contact record via the API, it is important that the data matches the &lt;STRONG&gt;value&lt;/STRONG&gt; (not the label).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in your case, if your dropdown option looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "label": "Facebook - Week",
    "value": "Facebook - Week",
    "displayOrder": 1,
    "hidden": false
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you try to pass "Facebook - WEEK", then then it would fail and contact record would not be updated/created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you would either need to change the data you are passing or update your dropdown option value to match the data you are passing, i.e.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "label": "Facebook - Week",
    "value": "Facebook - WEEK",
    "displayOrder": 1,
    "hidden": false
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 14:27:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1210900#M84892</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-10-10T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown values in API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1211373#M84901</link>
      <description>&lt;P&gt;Thank you &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185" target="_blank"&gt;@BérangèreL&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/53048"&gt;@evaldas&lt;/a&gt;&amp;nbsp;for your assistance and reply.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2025 22:49:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Dropdown-values-in-API/m-p/1211373#M84901</guid>
      <dc:creator>THa51</dc:creator>
      <dc:date>2025-10-12T22:49:58Z</dc:date>
    </item>
  </channel>
</rss>

