Skip to main content

Where do i find "people" Ids to use in queries

  • February 6, 2024
  • 1 reply
  • 358 views

Im able to push a query using

    query = f'mutation{{ create_item (board_id:{board_id}, item_name:\\"{purchaser["purchaser_name"]}\\") {{ id }} }}'

but i cannot find the id i would use to push in “people” column
is is their name or email? or is it an ID number and if so, where do i find that?

1 reply

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • February 7, 2024

Hello there @Tinman and welcome to the community!

Depending on how you pass the data, you can use the email address or the ID in the people column.

The ID can be found with a query like this one:

{
  users {
    name
    email
    id
  }
}

Cheers,
Matias