Skip to main content

User Defined Fields in Items

  • February 24, 2022
  • 2 replies
  • 1513 views

Is there a way to retrieve custom user defined fields from items in the API calls?

2 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • February 27, 2022

Hello there @sgraflund and welcome to the community!

I hope you like it here 💪

What do you mean by custom user defined fields?

Are you tryin to retrieve specific columns of the items?

If so, you can use the columns’ IDs to do that:

{
  boards(ids: 1234567) {
    items {
      column_values(ids: ["text", "status"]) {
        value
        text
      }
    }
  }
}

You can get your board’s column IDs with a query too:

{
  boards(ids: 1234567) {
    columns {
      id
    }
  }
}

Hope this helps!

Cheers,
Matias


  • Author
  • New Participant
  • February 28, 2022

Thanks, yes, I figured it out on my own. Problem was they were in another subtable and I wanted them in the items table. I had to take the json and parse it out to use it the way I wanted.

~WRD037.jpg