I’ve been working with the Monday.com API to manage tags across boards, but I’ve run into some challenging issues with querying and creating tags, particularly on private boards. I followed the documentation web.developer.monday.com/api-reference/reference/tags-1, but I’m still unable to get the expected results.
Here’s what I’ve encountered:
1. Querying Tags on Private Boards: When I use the tags
query with specific IDs, I consistently get empty results for private tags. For example:
query {
tags(ids: [1, 2, 4]) {
id
name
color
}
}
Even though I’m certain the tag IDs exist on a private board, they aren’t being returned in the response.
2. Creating Tags for Private Boards: Using the create_or_get_tag
mutation, I tried to create a tag for a private board by passing the board_id
argument. The mutation completes successfully but doesn’t make the tag appear in the board’s UI, even after assigning it to an item.
Example mutation:
mutation {
create_or_get_tag(tag_name: "Test Tag", board_id: 12345678) {
id
}
}
- Tag Visibility Issues: Tags created for public boards seem to work fine, but private tags are not behaving as expected. I’ve tried assigning them to items on the board manually and via the API, but they still don’t appear in the UI.
Questions and Challenges:
- Is there a specific configuration or permission required to query tags on private boards?
- Why do private tags fail to appear in the UI even after being used on items?
- Are there any known limitations for
create_or_get_tag
with private or shareable boards?
I’ve double-checked my scopes (tags:read
and boards:write
), and everything seems in place. If anyone has faced similar issues or knows a reliable way to query and manage tags on private boards, I’d appreciate your input. Thanks in advance!