Dropdown values in API

Hi @THa51 and Happy Friday!
Thanks so much for sharing your question and for detailing your use case around dropdown property values and API behavior with the HubSpot Community.

To answer your main question: dropdown values in HubSpot are case sensitive.
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.
This applies both when updating a contact via the API and when searching for matching dropdown options.
Also, here is a documentation “CRM API | Properties” that can help you.
Now, let’s check with our Top Experts: Hi @GRajput, @KhushbooP11 and @NMetnik 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?
Have a lovely weekend and thanks so much!
Bérangère