API reference

Team tracks

A team's shared board: list its tracks by stage, open one with its comments and history, create and change tracks, make members responsible, move them between stages (a closed stage closes the track), tick checklists, comment as yourself, link tracks that depend on each other, and answer the tracks offered to you. Each change is yours, within your role in the team. 21 endpoints. Add your API key in the authentication panel to send test requests from this page.

Read a team's boards

GET/api/external/v1/teams/{teamId}/boards

The boards the team keeps its tracks on, in their order (at least one): {id, teamId, name, named, description, main, position, openTracks, createdAt}. main: the board a track goes on when none is given. named false: the team's first board, which nobody named - name is then the app's name for it in lang. Every track says its board (boardId); the board read (GET .../tracks) holds the tracks of every board.

404 TEAM_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired
  • langstringquery

Responses

  • 200OK

List offers of responsibility in a team

GET/api/external/v1/teams/{teamId}/offers

With trackId: every offer on that track (any member reads them). Without: the offers in this team waiting for your answer. An offer is made when someone makes another member responsible for a track and the team asks for their yes first: {id, teamId, teamName, trackId, trackTitle, member, offeredBy, offeredByKind, note, state (OFFERED, ACCEPTED, DECLINED, WITHDRAWN), declineNote, createdAt, decidedAt, mine, mayWithdraw}. Answers {items: [Offer]}.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)query

    A track of the team: its offers.

  • langstringquery

Responses

  • 200OK

Read a team's board

GET/api/external/v1/teams/{teamId}/tracks

The team's board as you see it: team (as GET /teams/{teamId}, with its stages), members, tracks (the open ones in board order; archived=true the archived ones instead), mayEdit / mayComment (what your role lets you do), openLimit (open tracks the owner's plan allows; null: no limit), links (per track id, its links in numbers: dependsOn, dependsOnOpen, blocks, related, duplicates), openProposals (per track id, open proposals you may read).

A track: id, teamId, title, description, stageKey and stageKind (NEW, ACTIVE, WAITING, DONE, DROPPED), position (its order in the stage), priority (LOW, NORMAL, HIGH, URGENT), dueAt, startsAt (its planned start), assignees (the members responsible: {id, name, photoUrl}), offered (ids of those made responsible by someone else who have not accepted yet), labels, checklist ({id, text, done, doneBy, doneByName, doneAt}), createdBy, createdByAgent, comments (how many), outcome, createdAt, updatedAt, lastActivityAt, completedAt, archivedAt, boardId (the team board it is on: a team may keep its tracks on several boards, each with its own name - GET /teams/{teamId}/boards). Built-in stage names come in lang, else your account's language. Reading here does not clear the board's unseen count in the app.

Parameters

  • teamIdstring (uuid)pathRequired
  • archivedbooleanquery

    true: the archived tracks instead of the open board.

  • langstringquery

Responses

  • 200OK

Create a team track

POST/api/external/v1/teams/{teamId}/tracks

Creates a track on the board as you (EDITOR and up; else 403 ROLE_REQUIRED). Body: title (required, at most 200 characters), description (at most 10000), stageKey (one of the board's stages; default the first), priority (LOW, NORMAL, HIGH, URGENT), dueAt and startsAt (ISO-8601 instants; the start never after the due date: 400 BAD_DATES), assignees (ids of members to make responsible, at most 10; each is told, and asked to accept when the team says so), labels (at most 10, 40 characters each), checklist (item texts, at most 50), boardId (one of the team's boards, GET /teams/{teamId}/boards; default the main board; another: 400 BAD_BOARD).

Open tracks per team up to the owner's plan (409 OPEN_LIMIT). 400 EMPTY_TITLE, TOO_LONG, BAD_STAGE, INVALID_TIME; 409 NOT_A_MEMBER for someone made responsible who is not in the team. Answers 201 with the track.

Parameters

  • teamIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

Get a team track

GET/api/external/v1/teams/{teamId}/tracks/{trackId}

One track with everything around it: track (as on the board), comments (oldest first, the latest 100: {id, author, byAgent, body, mentions, createdAt, editedAt, deleted, mine}), events (its history, newest first, each with text in lang), mayEdit, mayComment, links, offers (of responsibility on it) and proposals (open ones every member reads).

404 TRACK_NOT_FOUND (not on this team's board), TEAM_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)pathRequired
  • langstringquery

Responses

  • 200OK

Change a team track

PATCH/api/external/v1/teams/{teamId}/tracks/{trackId}

Changes a track as you (EDITOR and up). A key left out keeps its value; null clears a date or a text. Keys: title, description, priority (LOW, NORMAL, HIGH, URGENT), dueAt, startsAt (ISO-8601 instants; both in one change move together), assignees (the whole list of members responsible: who is added is told and may be asked to accept, who is left out is taken off), labels, outcome (what came of it, at most 2000), boardId (moves it to another of the team's boards, keeping its stage). Its stage changes with POST .../move.

Answers the track. 400 BAD_DATES (a start after the due date), BAD_BOARD (a board the team has not got), INVALID_TIME, INVALID_FIELD; 409 NOT_A_MEMBER.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

Archive or restore a team track

POST/api/external/v1/teams/{teamId}/tracks/{trackId}/archive

{"archived": true} (or no body) takes the track off the board into the archive; {"archived": false} puts it back. EDITOR and up. Answers the track.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

Change a team track's checklist

POST/api/external/v1/teams/{teamId}/tracks/{trackId}/checklist

One change of the checklist (EDITOR and up): op ADD with text; TOGGLE itemId (with done true or false; left out: flips it); EDIT itemId with text; REMOVE itemId. Items at most 50, 300 characters each. Answers the track. 400 BAD_CHECK for an item that is not there or no text.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

Comment on a team track

POST/api/external/v1/teams/{teamId}/tracks/{trackId}/comments

Writes a comment as you (COMMENTER and up): body (required, at most 4000 characters). @Name of a member in the words mentions them (matched against the team's members) and tells them; the people responsible and others following the track are told as their settings say. The comment is yours: author is you and byAgent is false. Answers 201 with the comment.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

Edit your comment

PATCH/api/external/v1/teams/{teamId}/tracks/{trackId}/comments/{commentId}

Changes the words of one of your own comments: body (required). Only its author edits a comment (else 403 ROLE_REQUIRED). Answers the comment.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)pathRequired
  • commentIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

Delete a comment

DELETE/api/external/v1/teams/{teamId}/tracks/{trackId}/comments/{commentId}

Deletes a comment: your own, or anyone's when you manage the team (OWNER, ADMIN). It keeps its place without its words. Answers 204.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)pathRequired
  • commentIdstring (uuid)pathRequired

Responses

  • 200OK

Move a team track to a stage

POST/api/external/v1/teams/{teamId}/tracks/{trackId}/move

Moves the track into stageKey (required: one of the board's stages), before the track beforeId (left out: at the end of the stage). Moving it into a DONE or DROPPED stage closes it - this is how a track is closed - and the people waiting on it are told; moving it out reopens it. EDITOR and up. Answers the track.

Parameters

  • teamIdstring (uuid)pathRequired
  • trackIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

List offers waiting for your answer

GET/api/external/v1/teams/offers

The tracks offered to you across your teams that wait for your yes or no, as in GET /teams/{teamId}/offers. Answers {items: [Offer]}.

Parameters

  • langstringquery

Responses

  • 200OK

Accept a track offered to you

POST/api/external/v1/teams/offers/{offerId}/accept

You take on the track: you count as responsible for it from now on, and whoever offered it is told. 404 OFFER_NOT_FOUND for an offer that is not yours; 409 NOT_OFFERED once it is no longer open. Answers the offer.

Parameters

  • offerIdstring (uuid)pathRequired
  • langstringquery

Responses

  • 200OK

Decline a track offered to you

POST/api/external/v1/teams/offers/{offerId}/decline

You say no: you are taken off the track's responsible people, and whoever offered it is told, with your note (optional, at most 500 characters). Answers the offer.

Parameters

  • offerIdstring (uuid)pathRequired
  • langstringquery

Request body application/json

object

Responses

  • 200OK

Withdraw an offer you made

POST/api/external/v1/teams/offers/{offerId}/withdraw

Withdraws an open offer you made (or, as a manager, any open offer of the team): the member is taken off the track's responsible people and no longer asked. 403 ROLE_REQUIRED for someone else's offer when you do not manage the team. Answers the offer.

Parameters

  • offerIdstring (uuid)pathRequired
  • langstringquery

Responses

  • 200OK

List the team tracks you are responsible for

GET/api/external/v1/teams/tracks/assigned

Open tracks across your teams that you are one of the people responsible for, the soonest due first: {id, teamId, teamName, title, stageName, stageKind, priority, dueAt, assigneeNames, openChecks}. limit 1-100 (default 50). Answers {items: [TrackRef]}.

Parameters

  • limitinteger (int32)query
  • langstringquery

Responses

  • 200OK