Is it possible to get item_views ID?

So for an event from timeline and activities, the url is in the following format:

https://.monday.com/boards/8140312713/pulses/8140355862/item_views/174255419?timelineItemId=c9bca32d-b635-43c0-a0d8-670fed4a7b46

I’m trying to get 174255419, after item_views/ which appears to be the item_view ID for Timeline and Activities.

Is this possible through the API?

Hello @douglas,

Yes, it is possible to retrieve the item_view ID or related data through the Monday.com API, depending on the specific details and your use case. Here’s how you can approach it:

Understanding the URL

In your URL:

bash

CopyEdit

https://<workspace>.monday.com/boards/8140312713/pulses/8140355862/item_views/174255419?timelineItemId=c9bca32d-b635-43c0-a0d8-670fed4a7b46
  • 8140312713 is the board ID.
  • 8140355862 is the pulse (or item) ID.
  • 174255419 appears to be the item_view ID.

The item_view ID is not explicitly documented in Monday.com’s API as a separate entity, but you can often work around this by fetching associated views or timeline data for the item.


Fetching Data via Monday.com API

Step 1: Get Board Views

To retrieve available views on a board, you can query the board’s data:

graphql

CopyEdit

query {
  boards(ids: 8140312713) {
    views {
      id
      name
      type
    }
  }
}

This fetches all views associated with the board, including timeline or activity views. However, it doesn’t directly link to the item_view ID in the URL.


Step 2: Fetch Timeline Data

If you are working with timeline data, you can use the items query to get the relevant timeline details:

graphql

CopyEdit

query {
  items(ids: 8140355862) {
    column_values {
      id
      value
      text
    }
  }
}

Check for the timeline column and its value. It might help you identify relevant information linked to timelineItemId.


Step 3: Identify Item View ID

Unfortunately, the item_view ID (174255419) used in the URL is not directly accessible through the Monday.com API based on current documentation. If you need it specifically:

  1. Confirm if this ID is tied to a board view or specific item property by reviewing available API fields.
  2. Contact Monday.com’s support for clarification if this ID is undocumented or hidden.

Suggested Solution

To work with timeline and activity data:

  1. Retrieve the item and its timeline details using the items query.
  2. Use views from the board query to fetch metadata about available views.

If this has helped let me know with a like or hopefully others will also jump in!

1 Like

You can get the current instance id on the client side using monday.get(‘context’) if you’re in an item view.

Also if you’re accessing it for a particular item view, have a look in the JWT. It might be hidden in there too.

2 Likes

Thank you both! JWT might have what I’m looking for since I’m trying to access the email and activities item view ID from another item view