Board views

monday.com board views allow you to visualize your board data in a different way. For example, you could see all events on a board in a Calendar View to easily see what's coming up next in your schedule, or use the Charts View to get reporting on your data. The API will provide you with records of all views added to a board.

Board views queries

Board view queries must be nested within a board query. You cannot use them at the root of your query.

Querying board views returns a collection of board views in a specific board.

query {
    boards (ids: 157244624) {
        views {
            id
            name
            type
        }
    }
}
let query = 'query { boards (ids: 157244624) { views { id name type } } }';

fetch ("https://api.monday.com/v2", {
  method: 'post',
  headers: {
    'Content-Type': 'application/json',
    'Authorization' : 'YOUR_API_KEY_HERE'
   },
   body: JSON.stringify({
     'query' : query
   })
  })
   .then(res => res.json())
   .then(res => console.log(JSON.stringify(res, null, 2)));

FIelds

Fields are used to return specific properties in an object. The following fields will determine what information is returned from your boards views query.

FieldDescription
id ID!The view's identifier.
name String!The view's name.
settings_str String!The view's settings in a string form.
type String!The view's type.
view_specific_data_str String!Specific board view data (only supported for forms).

📘

Have questions?

Join our developer community! You can share your questions and learn from fellow users and monday.com product experts.

Don’t forget to search before opening a new topic!