How can i create multiples boards by JSON

I’m trying to create a JSON to create more than 1 board, but i’m not succeeding.
The JSON i’m using is.

“query”: “mutation {create_group (board_id: mykey,[{ group_name: "Kick-off meetings", group_name: "Kick-off meetings2"}]) {id}}”

Can anyone help?

Thx

Hi Michael, this looks like it will create multiple groups, to create multiple boards is slightly different.

I have found this custom GPT helpful to get the correct syntax.

For this case, the following code is suggested, does this work for you?

{
  "query": "mutation { 
    group1: create_group (board_id: mykey, group_name: \"Kick-off meetings\") { id }
    group2: create_group (board_id: mykey, group_name: \"Kick-off meetings2\") { id }
  }"
}