added

New `updates` fields

In version 2025-01, we added two new fields on updates queries:

  • edited_at: Returns the date the update's body was last edited
  • viewers: Returns data about the update's viewers
query {
  updates {
    body
    edited_at
    viewers {
      user_id
      medium
      user {
        name
      }
    }
  }
}
let query = "query { updates { body edited_at viewers { user_id medium user { name }}}}";

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)));