The new pricing_version field on app_subscription queries returns the subscription's pricing version. This field is only available on API versions 2024-01 and later.
We just added the direction and symbol fields on the NumbersValue implementation. You can use these fields to return information about the symbols used in Numbers columns. Check out the details here!
Please note that the NumbersValue implementation is only available in API version 2023-10 and later.
Sample query
query {
items (ids:[9876543210]) {
column_values {
... on NumbersValue {
number
id
symbol
direction
}
}
}
}
In API version 2023-10 and later, you can add the ids argument to an updates query to retrieve a specific update(s) using its ID.
You can use the argument when querying updates at the root or while nested under boards or items. Please note that when nesting updates in a boards or items query, the ids argument will only return updates matching the ID that are also related to the board or item.
The following example would only return information about update 9876543210 on item 1234567890.
The new app_installs object allows you to retrieve your app's installation data through the API. Your query can return most of the same installation information sent through webhooks.
This new object is available in API versions 2024-01 and later. Check out our documentation for more info!
query {
app_installs (app_id: 123456789, limit: 1, page: 1) {
app_id
timestamp
app_install_account {
id
}
app_install_user {
id
}
app_version {
major
minor
patch
type
text
}
}
}
In API version 2024-01, we fixed a typo in the UserUnauthorizedException error. The error code used to read "UserUnauthroizedException", but it now reads "UserUnauthorizedException".
We released API version 2024-01 on October 1st. It contains just one breaking change to give you more time to focus on the changes previously announced in 2023-10. Check it out below!
We recently added the ability to sort and filter items_page results by either their last updated or creation dates.
You can do so by entering either "__creation_log__" or "__last_updated__" as the column ID in the order_byfield of your query. The items will be returned chronologically, with the oldest listed first.
Please note that you are not required to have a last updated or creation log column on your board to use this sorting mechanism.
The following example would return the first 50 items on board 1234567890 with a blank status column value, and they would be listed chronologically (oldest to newest) according to their creation date.
Before these updates, we were missing a feature that sent the authorization header for some webhooks. We added the missing feature, so now the authorization header will be included in all webhooks. Make sure to start validating your requests from monday!
Please note that this only applies to apps created in the Developer Center. You will not receive the authorization header if your app uses a personal token.
Users can't remove app webhooks in the UI
While webhooks created by apps were always labeled internally on monday as belonging to a specific app, we enabled this labeling in the Active integrations page on the board so users can’t remove your webhooks from the board!
In the 2023-10 API release, we introduced the items_page object which utilizes cursor-based pagination to retrieve smaller groups of items from a large data set. This object must be nested inside of a boards query, so it has a high complexity cost.
To help reduce that cost, we created the next_items_page object which can be used at the root of your query to paginate through the data set. It takes both the cursor and limitarguments and retrieves the following page of items in the data set.
Now let's break it down a bit...
Say you only want to retrieve items with a blank status column from board 1234567890. This board contains thousands of items that cannot be retrieved simultaneously, so you can use cursor-based pagination.
The query below would return the ID and name of the first 50 items with a blank status column and a cursor value that represents the position in the data set after returning 50 items.
You can then use the next_items_page object with the cursor argument from the first query to return the following 50 relevant items in the data set. After returning the next cursor value, you can continue paginating through the entire data set.
query {
next_items_page (limit: 50, cursor: "MSw5NzI4MDA5MDAsaV9YcmxJb0p1VEdYc1VWeGlxeF9kLDg4MiwzNXw0MTQ1NzU1MTE5") {
cursor
items {
id
name
}
}
}
We have removed support for the text field on MirrorValue, DependencyValue, and BoardRelationValue column values. We have replaced it with the new display_value field to return text values for the connect boards, dependency, and mirror columns.
As part of the 2023-10 release, we created the text field on column_values to return the text values for each column. These calls have a high cost for the mirror, dependency, and connect board columns.
Therefore, we stopped supporting the text field and created the display_value field on these three column values only. These updates will help reduce the load by only returning the data when users actually need it.
The following example would return the mirror column display values (i.e., text values) on items 1234567890 and 9876543210.