Skip to main content

Get all board with state != "active" with api v2

  • September 19, 2019
  • 2 replies
  • 1389 views

Hello,
with the v2 API in can’t read boards with state != “active”
How can i check if a board is archived or deleted ?
Thanks

This topic has been closed for replies.

2 replies

Ayelet
Forum|alt.badge.img
  • monday.com Team Member
  • September 19, 2019

Hey @Geoffrey ,
you can query boards where the state is active, archived, deleted or all.
If you want to know when the board is archived or deleted you can use the state field of the board.

query{
  boards(state: all){
    id
    name
    state
  }
}

  • Author
  • New Participant
  • September 19, 2019

Hello,
It’s work !

I did not read the documentation well, it was written :
“The state of the board (all / active / archived / deleted), the default is active.”

Sorry for the mistake.

Thanks 😉