Skip to main content

Dropdown - Reading the dropdown existing labels

  • March 1, 2023
  • 3 replies
  • 509 views

I run into a situation where I need to get possible labels in the dropdown column through API.
Is there an option to get that values?

3 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 1, 2023

Hello there @mpsujek,

Yes! You can get the possible labels in a dropdown column with a query like this one:

{
  boards(ids: 1234567890) {
    columns(ids: "dropdown_9") {
      settings_str
    }
  }
}

I hope that helps!

Cheers,
Matias


  • Author
  • Participating Frequently
  • March 1, 2023

Thank You 🙂 that’s help


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 1, 2023

Hi!

I am glad it does 🙂

Let us know if you have any other questions!

Cheers,
Matias