Skip to main content

Get all Board IDs

  • February 25, 2022
  • 4 replies
  • 2651 views

ChrisNemes

Hi,
I want to get all the Board IDs via API my account sees on monday.com. However some of them are missing.
I have an API-key, and I use the query:
‘query {boards () { name id }}’

I got around 25 IDs back, but my Workspaces got far more than that.
What could be the problem?

This topic has been closed for replies.

4 replies

ChrisNemes
  • Author
  • Participating Frequently
  • February 25, 2022

In the meantime, I found a “solution”.
If I use the

‘query {boards (limit:500) { name id }}’

syntax, it’s working. But it is very interesting that I have to set a limit in order to get all the IDs.
Why is that?


  • Participating Frequently
  • February 27, 2022

The default number of boards to return is 25 per the docs. You can optionally override this limit using the limit argument, as you’ve found.


ChrisNemes
  • Author
  • Participating Frequently
  • February 28, 2022

Thank you, riosd!
Now I understood.


  • March 7, 2022

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.