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.

You can find more general info on Board Views here

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

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)));
curl --location --request POST 'https://api.monday.com/v2' \
--header 'Authorization: YourSuperSecretApiKey' \
--header 'Content-Type: application/json' \
--header 'Cookie: __cfduid=d4512e647bd3dd90706f5673d6041f7c51618840981' \
--data-raw '{"query": "query { boards (ids: 157244624) { views { id name type } } }"}'

Fields

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

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 !IDThe view's identifier.
name !StringThe view's name.
settings_str !StringThe view's settings in a string form.
type !StringThe view's type.

📘

Do you 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!


Did this page help you?