Skip to content

Quickstart

Mudda is a single-person Kanban board: boards, each with the same four lanes (Backlog, Todo, Doing, Done), holding cards with steps and notes. Everything you can see in the browser has a JSON form on the same URL, so a script reads and writes your board the way you do.

Your board lives at its own address, such as https://you.mudda.today. The examples below call it $MUDDA.

In your board, open the profile (your avatar, top right) → API tokens, give the token a label naming the script or agent that will hold it (quickstart), and mint it. The token is shown once, so copy it now.

Terminal window
export MUDDA=https://you.mudda.today
export TOKEN=…
Terminal window
curl -H "Authorization: Bearer $TOKEN" $MUDDA/my/user.json

The answer names you, your account, the time zone “today” is reckoned in, and the token’s label and scopes.

Terminal window
curl -H "Authorization: Bearer $TOKEN" $MUDDA/boards.json

Every index answers { "data": [...], "paging": {...} }. Take a board’s id, then read the board for its four lanes and keep Doing’s id:

Terminal window
BOARD=$(curl -s -H "Authorization: Bearer $TOKEN" $MUDDA/boards.json | jq '.data[0].id')
DOING=$(curl -s -H "Authorization: Bearer $TOKEN" $MUDDA/boards/$BOARD.json \
| jq '.columns[] | select(.name == "Doing") | .id')

A card is created whole, steps included, and lands in Backlog. Keep its number, which with the board addresses it:

Terminal window
CARD=$(curl -s -X POST $MUDDA/boards/$BOARD/cards.json \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "title": "Ship it", "due_on": "2026-12-01",
"steps_attributes": [ { "content": "First" }, { "content": "Second" } ] }' \
| jq '.number')

The answer is 201 with the card, including its number and its url.

PUT Doing’s id on the card:

Terminal window
curl -X PUT $MUDDA/boards/$BOARD/cards/$CARD.json \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d "{ \"column_id\": $DOING }"

A card in Todo or Doing needs a due date, which this one has. Read Cards and lanes for the rules, and the API reference for every endpoint.