API reference
Track files
The files, web links and spreadsheets attached to your tracks: list them, upload a file, attach a link or a spreadsheet, rename or annotate one, take one off, and download a file's bytes. Everything here acts as you and is noted in the track's history as your change; the same limits apply as in the app. 11 endpoints. Add your API key in the authentication panel to send test requests from this page.
List a track's files, links and spreadsheets
/api/external/v1/tracks/{trackId}/filesEverything attached to one of your tracks, oldest first, as {"items": [...]} (at most 50 per track).
Each item has id, trackId, kind (FILE, LINK or SHEET), title, note, url (where a link or spreadsheet opens), linkType (what a link was recognised as: WEB, GOOGLE_DOC, YOUTUBE, FIGMA, ...), externalId, site, actor (who attached it: PERSON for you), shares (how many live status links show it), createdAt, updatedAt, and by kind:
file:name,mime,kind(IMAGE,VIDEO,AUDIO,PDF,DOCUMENT,OTHER),sizeBytesandcontentPath- a signed address relative to the API base (/api) that opens without a key for twelve hours, for showing the file in a browser. To read the bytes from your program useGET /tracks/{trackId}/files/{fileId}/content.sheet:access(READorEDIT: what your assistant may do with it),tabs,lastWriteAt,lastWriteBy.
Errors: 404 TRACK_NOT_FOUND for a track that is not yours.
Parameters
trackIdstring (uuid)pathRequiredlangstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Responses
200OK
Upload a file to a track
/api/external/v1/tracks/{trackId}/filesStores the file (multipart field file) as a private file of yours and attaches it to the track; answers 201 with the new attachment (see GET /tracks/{trackId}/files). Optional form fields: title (at most 200 characters; left out: the file's name) and note (at most 500).
What is kept is decided by the file's first bytes, not its name: pictures, video, audio, PDF, office documents, archives and plain text (.txt, .csv, .md, .json). Markup (HTML, SVG), scripts and anything unknown are refused before anything is stored. The file counts towards your storage.
Only tracks on your board take files (not a suggestion waiting for your answer, not an archived one), at most 50 attachments per track.
Errors: 404 TRACK_NOT_FOUND; 413 TOO_LARGE over the size limit (200 MB unless your platform set another; maxBytes says it); 400 BAD_FILE (empty, or a kind that is not kept), TOO_LONG; 409 NOT_ATTACHABLE (a suggestion, archived, tracks off), LIMIT (the track is full), STORAGE_FULL; 409 PLAN_FEATURE when tracks are beyond your plan.
Parameters
trackIdstring (uuid)pathRequiredtitlestringqueryWhat it is called on the track; left out: the file's name.
notestringqueryA line about it.
langstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Request body multipart/form-data
filestring (binary)Required
Responses
200OK
Read one file, link or spreadsheet of a track
/api/external/v1/tracks/{trackId}/files/{fileId}One attachment of one of your tracks, in the shape the list gives (see GET /tracks/{trackId}/files).
Errors: 404 TRACK_NOT_FOUND, 404 FILE_NOT_FOUND when it is not on that track.
Parameters
trackIdstring (uuid)pathRequiredfileIdstring (uuid)pathRequiredThe id of the file, link or spreadsheet on the track (`id` in a list).
langstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Responses
200OK
Rename or annotate a track's file
/api/external/v1/tracks/{trackId}/files/{fileId}Changes the keys you send and answers the attachment: title, note (empty or null clears it), and for a spreadsheet access (READ or EDIT: what your assistant may do with it). Keys left out stay.
Errors: 404 TRACK_NOT_FOUND / FILE_NOT_FOUND; 400 TOO_LONG.
Parameters
trackIdstring (uuid)pathRequiredfileIdstring (uuid)pathRequiredThe id of the file, link or spreadsheet on the track (`id` in a list).
langstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Request body application/json
object
Responses
200OK
Take a file, link or spreadsheet off a track
/api/external/v1/tracks/{trackId}/files/{fileId}Takes it off the track (204). A file's bytes are deleted with it; a spreadsheet or a linked document stays where it lives (nothing is deleted in your Google Drive). Status links stop showing it.
Errors: 404 TRACK_NOT_FOUND / FILE_NOT_FOUND.
Parameters
trackIdstring (uuid)pathRequiredfileIdstring (uuid)pathRequiredThe id of the file, link or spreadsheet on the track (`id` in a list).
langstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Responses
200OK
Download a file's bytes
/api/external/v1/tracks/{trackId}/files/{fileId}/contentThe bytes of a FILE attachment, streamed with the type it was recognised as when it was uploaded (Content-Type), Content-Disposition: attachment with its file name, and Cache-Control: private, no-store. Range requests are answered with 206 as usual.
Errors: 404 TRACK_NOT_FOUND / FILE_NOT_FOUND for one that is not yours or not on that track; 409 NOT_A_FILE for a link or a spreadsheet (they have no bytes here: open their url); 404 FILE_GONE when its bytes are no longer stored; 503 FILE_UNREADABLE when the store could not be read just now.
Parameters
trackIdstring (uuid)pathRequiredfileIdstring (uuid)pathRequiredThe id of the file, link or spreadsheet on the track (`id` in a list).
Responses
200The file's bytes
Read a tab of an attached spreadsheet
/api/external/v1/tracks/{trackId}/files/{fileId}/sheetThe values of one tab of a SHEET attachment, read through your spreadsheet connection: title, url, tabs (the tab names), tab (the one read), values (rows of cells as text), totalRows, totalColumns, truncated (the preview holds only the first rows and columns) and fetchedAt.
Errors: 404 TRACK_NOT_FOUND / FILE_NOT_FOUND (also for an attachment that is no spreadsheet); 409 SHEETS_<REASON> when the spreadsheet could not be read (SHEETS_NOT_CONNECTED, SHEETS_RECONNECT, SHEETS_NOT_FOUND for a tab that is not there, SHEETS_NO_ACCESS, ...).
Parameters
trackIdstring (uuid)pathRequiredfileIdstring (uuid)pathRequiredThe id of the file, link or spreadsheet on the track (`id` in a list).
tabstringqueryThe tab to read, by name. Left out: the first one.
freshbooleanquerytrue: read it now; else an answer up to a minute old may come back.
langstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Responses
200OK
Attach a web link to a track
/api/external/v1/tracks/{trackId}/files/linksAttaches an address (http or https) to the track and answers 201 with it. Body: url (required, at most 2000 characters), title (left out: the document's or page's own name where it can be read, else the site), note.
The address is recognised for what it is (linkType: a Google Doc, a Drive folder, a video, a design file, ...). A Google spreadsheet your Google connection can open is attached as a SHEET. An address already on the track answers (201) the attachment that is there, without a second line in its history.
Errors: 404 TRACK_NOT_FOUND; 400 BAD_URL, TOO_LONG; 409 NOT_ATTACHABLE, LIMIT.
Parameters
trackIdstring (uuid)pathRequiredlangstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Request body application/json
object
Responses
200OK
Make a new spreadsheet on a track
/api/external/v1/tracks/{trackId}/files/sheetsMakes a new spreadsheet and attaches it to the track (201). Body: title (left out: the track's title), note, columns (a list of column names: the first tab's header row), kind (GOOGLE for one in your Google Drive, or the workspace's own kind; left out: defaultKind of GET /tracks/files/sheets-connection). Your assistant may keep a spreadsheet made here (access EDIT). A Google spreadsheet is made through your Google connection and stays in your Drive even if the track goes.
Errors: 404 TRACK_NOT_FOUND; 400 TOO_LONG; 409 NOT_ATTACHABLE, LIMIT; 409 SHEETS_<REASON> when the spreadsheet could not be made (SHEETS_NOT_CONNECTED, SHEETS_RECONNECT, SHEETS_DISABLED, ...).
Parameters
trackIdstring (uuid)pathRequiredlangstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Request body application/json
object
Responses
200OK
Attach a spreadsheet you already have
/api/external/v1/tracks/{trackId}/files/sheets/existingAttaches one of your existing spreadsheets by its address (201). Body: url (required), title, note, access (READ: your assistant only reads it, the default for one of your own; EDIT: it may write rows into it). A Google spreadsheet must open with your Google connection.
Errors: 404 TRACK_NOT_FOUND; 400 BAD_URL, TOO_LONG; 409 NOT_ATTACHABLE, LIMIT; 409 SHEETS_<REASON> (SHEETS_NOT_FOUND, SHEETS_NO_ACCESS, SHEETS_NOT_CONNECTED, ...).
Parameters
trackIdstring (uuid)pathRequiredlangstringqueryThe language of texts and refusals (en, tr, de, es, fr, it, nl, pt). Left out: the account's app language.
Request body application/json
object
Responses
200OK
Check whether spreadsheets work for the account
/api/external/v1/tracks/files/sheets-connectionWhether spreadsheets can be made and attached for you: available (Google spreadsheets exist on this platform), connected and needsReconnect (your Google connection), accountEmail, whether the workspace's own spreadsheets (which need no connection) can be made, and defaultKind (the kind a new spreadsheet is when none is asked for: GOOGLE or the workspace's own kind - send this value as kind to ask for that one). Connecting Google is done in the app.
Responses
200OK