New `group_color` argument for `create_group` mutation

The new group_color argument allows you to specify a group’s color when using the create_group mutation. You can find a list of the accepted values here.

This argument is available in API versions 2024-04 and later.

GraphQL

mutation {
  create_group (board_id: 1234567890, group_name: "new group", group_color: "#ff642e", relative_to: "test_group", position_relative_method: before_at) {
    id
  }
}

JavaScript

let query = "mutation { create_group (board_id: 1234567890, group_name: \"new group\", group_color: \"ff642e\", relative_to: \"test group\", position_relative_method: before_at) { id } }";

fetch ("https://api.monday.com/v2", {
  method: 'post',
  headers: {
    'Content-Type' : 'application/json',
    'Authorization' : 'YOUR_API_KEY_HERE',
    'API-Version' : '2024-04'
   },
   body: JSON.stringify({
     query : query
   })
  })
   .then(res => res.json())
   .then(res => console.log(JSON.stringify(res, null, 2)));
1 Like

For me this does not work with all colors from the documentation. The only colors that work for me are these:
#037f4c
#fdab3d
#579bfc
#e2445c
#00c875
#c4c4c4
#808080
#0086c0
#9cd326
Here I tried to set the group color to yellow.

Hello there @deniskarmazen,

Would you be able to please fill this form so our team can take a look into this?

Looking forward to hearing from you via the form!

Cheers,
Matias