Skip to content
gist.link ↗

createColumn

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

Create a column on a board. Any team member.

teams:mutation:createColumn

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 {
createColumn(boardId: Int!, input: CreateColumnInput!): BoardColumn!
}
Argument Type Required Description
boardId Int! Yes —
input CreateColumnInput! Yes —

BoardColumn! — 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 CreateColumn($boardId: Int!, $input: CreateColumnInput!) { createColumn(boardId: $boardId, input: $input) { id board_id name position } }",
"variables": {
"boardId": 10,
"input": {
"name": "Example"
}
}
}
JSON