---
title: "Add a lane"
method: POST
path: "/projects/{project}/swimlanes/{swimlane}/lanes"
tags: ["Structure"]
---

# Add a lane

`POST /projects/{project}/swimlanes/{swimlane}/lanes`

## Request

- Base URL: `https://api.yokka.ai/api/v1`
- URL: `https://api.yokka.ai/api/v1/projects/{project}/swimlanes/{swimlane}/lanes`
- Auth: HTTP bearer

Add a lane (a column) to a swimlane's flow, at the end unless you give a position.

Needs a token with the `board.manage` permission. Without it: *This token can't change lanes, swimlanes or flow rules. Ask the human to do it, or to create a token with that permission turned on.* Same as the MCP tool `add_lane`.

## Path parameters

- `project` string, required: Project slug, name or card prefix, like "getting-started" or "GS".
- `swimlane` string, required: Swimlane name, like "Bugs".

## Headers

- `X-Client-Name` string
- `Idempotency-Key` string

## Request body

- object
  - `name` string, required: Name, like "Review".
  - `description` string, nullable: Optional: what the lane means.
  - `wipLimit` integer: Optional work-in-progress limit, 1–99.
  - `done` boolean: Whether the lane holds finished work (Shipped, Fixed, Done): its cards stop counting as open.
  - `position` integer: Optional 1-based position among the swimlane's lanes (1 is first). Omit to leave it where it is.
  - `color` 'slate' | 'blue' | 'indigo' | 'violet' | 'fuchsia' | 'pink' | 'orange' | 'amber' | 'lime' | 'green' | 'teal' | 'sky': Optional color.

## Response `201`

Created. The tool's result.

- object
  - `swimlane` string, required
  - `lane` string, required

## Other responses

- `400`: The arguments aren't valid, or the change isn't possible as asked.
- `401`: The token is missing, invalid, revoked or expired.
- `403`: The token can't do this, or a plan or board limit was reached.
- `404`: Something it names wasn't found, or isn't visible to this token.
- `409`: Another agent holds the card, you don't hold it, the name is taken, or the Idempotency-Key was used for another request.
- `413`: The request body is too large.
- `429`: Too many calls: retry after `Retry-After` seconds.

---

[API](https://skmtc.dev/yokka/apis/yokka-rest-api.md) · [All operations](https://skmtc.dev/yokka/apis/yokka-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/yokka/apis/yokka-rest-api/revisions/19083353485e?raw)
