Skip to content
gist.link ↗

createBoard

Mutation Teams API — POST https://teams.api.gist.link/graphql

Create a task board within a team. Any team member.

teams:mutation:createBoard

The calling IAM key must hold this permission (or a wildcard that covers it: teams:mutation:* or teams:*) and the access token must have been minted with audience=teams. See Permissions.

type Mutation {
createBoard(teamId: Int!, input: CreateBoardInput!): Board!
}
Argument Type Required Description
teamId Int! Yes —
input CreateBoardInput! Yes —

Board! — see the Teams types reference.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation CreateBoard($teamId: Int!, $input: CreateBoardInput!) { createBoard(teamId: $teamId, input: $input) { id name created_at updated_at } }",
"variables": {
"teamId": 10,
"input": {
"name": "Example"
}
}
}
JSON