Items page by column values - Looking up based on email

hi guys,
I am using the new Items page by column values API. I see that email is not one of the supported types.
Just wondering how I should lookup an item based on an email address?
thanks,
Kevin

Hello there @caoimhinmacg and welcome to the community!

I hope you like it here :muscle:

You can use a query like this one:

{
  items_page_by_column_values(
    limit: 50
    board_id: 1234567890
    columns: [{column_id: "email", column_values: ["example@example.com"]}]
  ) {
    cursor
    items {
      id
      name
    }
  }
}

Let me know if you have any other questions!

Cheers,
Matias

thanks @Matias.Monday.
My understanding is that the Email column is made up of an email constituent and a text
constituent .
Am I correct in understanding that your query will find a match in the text
constituent and not the email constituent?

thanks,
Kevin

1 Like

That is correct @caoimhinmacg !

And I will check the docs with the team @codyfrisch !

1 Like