Skip to content
DocsBookmarks

API reference

Bookmarks

Tasks that bookmark a web page, and the previews Taskloader makes of linked pages: title, summary, picture and icon. Endpoints, parameters, examples and errors.

View as Markdown

On this page

Tasks that bookmark a web page, and the previews Taskloader makes of linked pages: title, summary, picture and icon. Previews are made in the background; a new bookmark is renamed once its page has been read, which raises the task’s version.

Bookmark a link

#

Creates a task that bookmarks a web page; Taskloader reads the page and names it.

HTTP
POST /api/v1/projects/{projectId}/bookmarks
  • Scopes: tasks:write
  • Who: Editor or above in the project
  • Project-limited credentials: allowed inside the credential’s projects; anything else is not_found
  • Retries: send Idempotency-Key to make retries safe
  • Rate limit: the write bucket
  • MCP tool: add_bookmark

Creates a task whose title is the link, with the other fields of create_task if you want them. Taskloader then reads the page in the background: the task is renamed after the page’s title (which raises version, with a task.updated event from the system), and an empty description gets the page’s summary and the link. When the page cannot be read, or answers with a bot check, the task is renamed after the words of its link instead, if it has any (reddit.com/r/x/comments/1y9o6m9/how_we_ship/ is "How we ship"), and renamed once more after the page’s title if a later read succeeds. The answer has bookmark.preview.status: "queued" until then. Only public http or https links without credentials, up to 2,048 characters once encoded (each character outside ASCII counts as its percent escapes: ж is %D0%B6), can be bookmarked. Send an Idempotency-Key so a retry never creates two.

Parameters

#
NameInTypeRequiredDescription
projectIdpathid (prj_…)YesProject id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
Idempotency-KeyheaderstringNoMakes a retry safe: the same key with the same request within 24 hours returns the first answer (with Idempotent-Replayed: true) instead of acting twice. 1 to 255 printable ASCII characters; a UUID works well. Keys belong to the credential that sent them.

Request body

#

A JSON object. Fields not listed are refused.

FieldTypeRequiredDescription
urlstringYesThe page, for example https://example.com/design-guide (http or https), up to 2,048 characters once encoded (each character outside ASCII counts as its percent escapes: ж is %D0%B6).
descriptionstringNoA description; left out, the page’s summary and the link once it is read. Up to 20,000 characters.
status"backlog" or "progress" or "review" or "done"Nobacklog (Backlog), progress (In progress), review (In review) or done (Done).
priority"low" or "normal" or "high" or "urgent"Nolow, normal, high or urgent.
assigneeMemberIdid (mem_…) or "me" or nullNoA member of the task’s project (mem_…), or me for yourself; null for nobody. The project overview lists the members and their ids (get_project_overview over MCP).
dueDatedate (YYYY-MM-DD) or nullNoYYYY-MM-DD, for example 2026-11-27; null for no date.

Response

#

201 with the new Task object. Location is its address.

FieldTypeDescription
object"task"
idid (task_…)Task id: task_ followed by 32 lowercase hex digits, for example task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
projectIdid (prj_…)Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
numberintegerThe task’s number in its project.
keystringThe task’s key, for example TL-012. Unique only within its project.
refstringA human reference, "org/project/TL-012" (for example northwind/website-launch/TL-012). Pass it back wherever a task is asked for.
urlstringWhere the task opens in Taskloader.
titlestringOne line, up to 180 characters; a title that is only a link may be up to 2,048 characters once encoded.
descriptionstringPlain text with line breaks, up to 20,000 characters.
status"backlog" or "progress" or "review" or "done"backlog (Backlog), progress (In progress), review (In review) or done (Done).
priority"low" or "normal" or "high" or "urgent"low, normal, high or urgent.
assigneeobject or nullWho it is assigned to, or null.
dueDatestring or nullYYYY-MM-DD, or null.
checklistarray of ChecklistItemIn order; at most 100 items.
checklistProgressobjectHow many checklist items are done, of how many.
bookmarkobject or nullThe page this task bookmarks, or null. A new bookmark is renamed after its page is read, which raises version: after the words of its link when the page cannot be read, and once more after the page’s title if a later read succeeds.
positionnumberBoard order: lower comes first within a status column (and a person’s row).
versionintegerRaised by every change. Send it back (If-Match or version) to update, move or delete the task.
attachmentCountinteger, at least 0How many files are attached.
createdByobject
createdAtstring (date-time)RFC 3339 UTC with milliseconds, for example 2026-11-18T10:00:00.123Z.
updatedAtstring (date-time)RFC 3339 UTC with milliseconds, for example 2026-11-18T10:00:00.123Z.
completedAtstring (date-time) or nullWhen it last entered Done; null while it is not done.

Headers it sends: ETag, Location, Idempotent-Replayed.

Errors

#
StatusCodeMeaning
400invalid_idThe id is for a different kind of resource
400invalid_idempotency_keyThe Idempotency-Key header is not valid
403insufficient_scopeThe credential lacks the required access
403forbidden_roleYour role does not allow this
404not_foundNot found
409idempotency_key_in_progressThe original request is still running
413payload_too_largeThe request body is too large
415unsupported_media_typeUnsupported media type
422invalid_bookmark_urlThis link cannot be bookmarked
422assignee_not_memberThe assignee is not a member
422idempotency_key_reusedThe Idempotency-Key was used for another request

And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.

Example

#
curl https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/bookmarks \
  -H "Authorization: Bearer $TASKLOADER_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"url":"https://example.com/design-guide"}'
HTTP
HTTP/1.1 201 Created
Content-Type: application/json
ETag: "1"
Location: /api/v1/tasks/task_2b6f1d2a8c9e4f00a1b2c3d4e5f60718

{
  "object": "task",
  "id": "task_2b6f1d2a8c9e4f00a1b2c3d4e5f60718",
  "projectId": "prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
  "number": 14,
  "key": "TL-014",
  "ref": "northwind/website-launch/TL-014",
  "url": "https://taskloader.com/northwind/website-launch/TL-014",
  "title": "example.com/design-guide",
  "description": "https://example.com/design-guide",
  "status": "backlog",
  "priority": "normal",
  "assignee": null,
  "dueDate": null,
  "checklist": [],
  "checklistProgress": {
    "done": 0,
    "total": 0
  },
  "bookmark": {
    "url": "https://example.com/design-guide",
    "previewId": "lnk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
    "preview": {
      "status": "queued",
      "title": null
    }
  },
  "position": 4096,
  "version": 1,
  "attachmentCount": 0,
  "createdBy": {
    "userId": "usr_kq3Xb1W9pZ0aLm7c",
    "name": "Maya Chen"
  },
  "createdAt": "2026-11-18T10:00:00.123Z",
  "updatedAt": "2026-11-18T10:00:00.123Z",
  "completedAt": null
}

Remove a task’s bookmark

#

Stops a task bookmarking its page, keeping its title, at the version you read.

HTTP
DELETE /api/v1/tasks/{taskId}/bookmark
  • Scopes: tasks:write
  • Who: Editor or above in the project
  • Project-limited credentials: allowed inside the credential’s projects; anything else is not_found
  • Retries: versioned: a retry with the same version gets version_conflict, never a second change
  • Version: required: send If-Match: "<version>" or ?version=<version>
  • Rate limit: the write bucket

Stops a task bookmarking its page: the task keeps its title and description, and bookmark becomes null. Needs the version you read (If-Match or version). A task that bookmarks nothing answers 422 not_a_bookmark.

Parameters

#
NameInTypeRequiredDescription
taskIdpathid (task_…)YesTask id: task_ followed by 32 lowercase hex digits, for example task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
versionqueryintegerNoThe version you read, for example 4 (from get_task or search_tasks); the change needs it. Over HTTP you may send If-Match: "4" instead. A task that changed since is not changed, and the error gives its current version.
If-MatchheaderstringNoThe version you last read: the ETag you got with it, as it came (W/"8-3f2a9c1d0b7e" from a read, "8" from a change), or "<version>". Only the version is compared: the change is refused with 412 version_conflict if the resource changed since. Instead of this header you can send ?version=<version> (this endpoint takes no body); when both are sent they must agree. * is not accepted.

Response

#

200 with a Task object.

FieldTypeDescription
object"task"
idid (task_…)Task id: task_ followed by 32 lowercase hex digits, for example task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
projectIdid (prj_…)Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
numberintegerThe task’s number in its project.
keystringThe task’s key, for example TL-012. Unique only within its project.
refstringA human reference, "org/project/TL-012" (for example northwind/website-launch/TL-012). Pass it back wherever a task is asked for.
urlstringWhere the task opens in Taskloader.
titlestringOne line, up to 180 characters; a title that is only a link may be up to 2,048 characters once encoded.
descriptionstringPlain text with line breaks, up to 20,000 characters.
status"backlog" or "progress" or "review" or "done"backlog (Backlog), progress (In progress), review (In review) or done (Done).
priority"low" or "normal" or "high" or "urgent"low, normal, high or urgent.
assigneeobject or nullWho it is assigned to, or null.
dueDatestring or nullYYYY-MM-DD, or null.
checklistarray of ChecklistItemIn order; at most 100 items.
checklistProgressobjectHow many checklist items are done, of how many.
bookmarkobject or nullThe page this task bookmarks, or null. A new bookmark is renamed after its page is read, which raises version: after the words of its link when the page cannot be read, and once more after the page’s title if a later read succeeds.
positionnumberBoard order: lower comes first within a status column (and a person’s row).
versionintegerRaised by every change. Send it back (If-Match or version) to update, move or delete the task.
attachmentCountinteger, at least 0How many files are attached.
createdByobject
createdAtstring (date-time)RFC 3339 UTC with milliseconds, for example 2026-11-18T10:00:00.123Z.
updatedAtstring (date-time)RFC 3339 UTC with milliseconds, for example 2026-11-18T10:00:00.123Z.
completedAtstring (date-time) or nullWhen it last entered Done; null while it is not done.

Headers it sends: ETag.

Errors

#
StatusCodeMeaning
400invalid_idThe id is for a different kind of resource
400invalid_idempotency_keyThe Idempotency-Key header is not valid
403insufficient_scopeThe credential lacks the required access
403forbidden_roleYour role does not allow this
404not_foundNot found
412version_conflictThe resource changed since you read it
413payload_too_largeThe request body is too large
415unsupported_media_typeUnsupported media type
422not_a_bookmarkThe task bookmarks no page
428precondition_requiredA version is required

And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.

Example

#
curl -X DELETE https://taskloader.com/api/v1/tasks/task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/bookmark \
  -H "Authorization: Bearer $TASKLOADER_API_KEY" \
  -H 'If-Match: "4"'
HTTP
HTTP/1.1 200 OK
Content-Type: application/json
ETag: "5"

{
  "object": "task",
  "id": "task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
  "projectId": "prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
  "number": 12,
  "key": "TL-012",
  "ref": "northwind/website-launch/TL-012",
  "url": "https://taskloader.com/northwind/website-launch/TL-012",
  "title": "Write the launch announcement",
  "description": "Draft the blog post and the newsletter. The press kit is in the shared folder.",
  "status": "progress",
  "priority": "high",
  "assignee": {
    "memberId": "mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
    "userId": "usr_kq3Xb1W9pZ0aLm7c",
    "name": "Maya Chen"
  },
  "dueDate": "2026-11-27",
  "checklist": [
    {
      "id": "chk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
      "text": "Outline",
      "done": true
    },
    {
      "id": "chk_1b6f1d2a8c9e4f00a1b2c3d4e5f60718",
      "text": "First draft",
      "done": false
    }
  ],
  "checklistProgress": {
    "done": 1,
    "total": 2
  },
  "bookmark": null,
  "position": 3072,
  "version": 5,
  "attachmentCount": 1,
  "createdBy": {
    "userId": "usr_kq3Xb1W9pZ0aLm7c",
    "name": "Maya Chen"
  },
  "createdAt": "2026-11-16T09:30:00.000Z",
  "updatedAt": "2026-11-18T10:00:00.123Z",
  "completedAt": null
}

When the version is stale:

HTTP
HTTP/1.1 412 Precondition Failed
Content-Type: application/problem+json
ETag: "6"

{
  "type": "https://taskloader.com/docs/api/errors#version_conflict",
  "title": "The resource changed since you read it",
  "status": 412,
  "code": "version_conflict",
  "detail": "TL-012 is at version 6. You sent version 4. Nothing was changed. Read the task, check the change still makes sense, and retry with version 6 (over HTTP, If-Match: \"6\" works too).",
  "instance": "/api/v1/tasks/task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/bookmark",
  "requestId": "req_0K7ZQ4M9TN2V6B8C1D3E5F7G9H",
  "currentVersion": 6,
  "current": {
    "object": "task",
    "id": "task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
    "projectId": "prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
    "number": 12,
    "key": "TL-012",
    "ref": "northwind/website-launch/TL-012",
    "url": "https://taskloader.com/northwind/website-launch/TL-012",
    "title": "Write the launch announcement",
    "description": "Draft the blog post and the newsletter. The press kit is in the shared folder.",
    "status": "progress",
    "priority": "high",
    "assignee": {
      "memberId": "mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
      "userId": "usr_kq3Xb1W9pZ0aLm7c",
      "name": "Maya Chen"
    },
    "dueDate": "2026-11-27",
    "checklist": [
      {
        "id": "chk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
        "text": "Outline",
        "done": true
      },
      {
        "id": "chk_1b6f1d2a8c9e4f00a1b2c3d4e5f60718",
        "text": "First draft",
        "done": false
      }
    ],
    "checklistProgress": {
      "done": 1,
      "total": 2
    },
    "bookmark": null,
    "position": 3072,
    "version": 6,
    "attachmentCount": 1,
    "createdBy": {
      "userId": "usr_kq3Xb1W9pZ0aLm7c",
      "name": "Maya Chen"
    },
    "createdAt": "2026-11-16T09:30:00.000Z",
    "updatedAt": "2026-11-18T10:00:00.123Z",
    "completedAt": null
  }
}
#

Lists a task’s bookmark and the first ten links in its description, with previews.

HTTP
GET /api/v1/tasks/{taskId}/links
  • Scopes: tasks:read
  • Who: Viewer or above in the project
  • Project-limited credentials: allowed inside the credential’s projects; anything else is not_found
  • Retries: a read; safe to repeat
  • Rate limit: the read bucket

Lists the page a task bookmarks (role bookmark) and the first ten links in its description (role description), each with what Taskloader read from the page: title, summary, site, picture and icon (signed links, valid 10 minutes). A link not read yet has a queued preview; one whose page could not be read has a failed preview, titled with the words of its link, with its site’s icon when the site gave it. The list is whole: hasMore is false and nextCursor null. Only the first ten description links get previews: when the description holds more, moreLinksInDescription is true and the others are only in its text.

Parameters

#
NameInTypeRequiredDescription
taskIdpathid (task_…)YesTask id: task_ followed by 32 lowercase hex digits, for example task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.

Response

#

200 with a list of TaskLink objects.

FieldTypeDescription
object"list"
hasMorebooleanTrue when there is a next page.
nextCursorstring or nullPass it as cursor to read the next page; null on the last page.
dataarray of TaskLink
moreLinksInDescriptionbooleanTrue when the description holds more than the ten links listed; the others have no preview and are only in its text.

Errors

#
StatusCodeMeaning
400invalid_idThe id is for a different kind of resource
403insufficient_scopeThe credential lacks the required access
404not_foundNot found

And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.

Example

#
curl https://taskloader.com/api/v1/tasks/task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/links \
  -H "Authorization: Bearer $TASKLOADER_API_KEY"
HTTP
HTTP/1.1 200 OK
Content-Type: application/json

{
  "object": "list",
  "data": [
    {
      "object": "task_link",
      "url": "https://example.com/design-guide",
      "role": "description",
      "preview": {
        "object": "link_preview",
        "id": "lnk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
        "url": "https://example.com/design-guide",
        "status": "ready",
        "title": "The design guide",
        "description": "Colours, type and voice for everything we publish.",
        "siteName": "Example",
        "accent": "#3b6e8f",
        "details": {
          "kind": "article",
          "author": null,
          "publishedAt": "2026-10-02",
          "price": null,
          "durationSeconds": null
        },
        "cover": {
          "url": "https://taskloader.com/api/v1/link-previews/lnk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/cover?exp=1795600200&cred=key_0b6f1d2a8c9e4f00a1b2c3d4e5f60718&sig=Xq3…",
          "width": 1200,
          "height": 630
        },
        "icon": null,
        "urlsExpireAt": "2026-11-18T10:10:00.000Z"
      }
    }
  ],
  "hasMore": false,
  "nextCursor": null,
  "moreLinksInDescription": false
}
#

Lists the previews of every page a project’s tasks link to, a page at a time.

HTTP
GET /api/v1/projects/{projectId}/link-previews
  • Scopes: tasks:read
  • Who: Viewer or above in the project
  • Project-limited credentials: allowed inside the credential’s projects; anything else is not_found
  • Retries: a read; safe to repeat
  • Rate limit: the read bucket

Lists the preview of every page the project’s tasks bookmark or link to in their descriptions, in pages of up to 100, with no cap: status, title, summary, site, accent colour, details, and signed links (10 minutes) to the picture and icon. A page that could not be read is failed, titled with the words of its link, with its site’s icon when the site gave it. The order is stable while you page, but means nothing: previews are shared with every project that links the same page, so when one was made is not shown.

Parameters

#
NameInTypeRequiredDescription
projectIdpathid (prj_…)YesProject id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
limitqueryinteger, 1–100NoHow many to return, 1–100, for example 50. Defaults to 50 (25 over MCP).
cursorquerystringNoThe nextCursor from the previous page, to read the next one. Leave it out for the first page; start again without it when you change filters. Up to 2,048 characters.

Response

#

200 with a list of LinkPreview objects; while hasMore is true, pass nextCursor back as cursor (with the same filters) for the next page.

FieldTypeDescription
object"list"
hasMorebooleanTrue when there is a next page.
nextCursorstring or nullPass it as cursor to read the next page; null on the last page.
dataarray of LinkPreview

Headers it sends: Link.

Errors

#
StatusCodeMeaning
400invalid_idThe id is for a different kind of resource
400invalid_cursorThe cursor is not valid
403insufficient_scopeThe credential lacks the required access
404not_foundNot found

And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.

Example

#
curl https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/link-previews \
  -H "Authorization: Bearer $TASKLOADER_API_KEY"
HTTP
HTTP/1.1 200 OK
Content-Type: application/json

{
  "object": "list",
  "data": [
    {
      "object": "link_preview",
      "id": "lnk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
      "url": "https://example.com/design-guide",
      "status": "ready",
      "title": "The design guide",
      "description": "Colours, type and voice for everything we publish.",
      "siteName": "Example",
      "accent": "#3b6e8f",
      "details": {
        "kind": "article",
        "author": null,
        "publishedAt": "2026-10-02",
        "price": null,
        "durationSeconds": null
      },
      "cover": {
        "url": "https://taskloader.com/api/v1/link-previews/lnk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/cover?exp=1795600200&cred=key_0b6f1d2a8c9e4f00a1b2c3d4e5f60718&sig=Xq3…",
        "width": 1200,
        "height": 630
      },
      "icon": null,
      "urlsExpireAt": "2026-11-18T10:10:00.000Z"
    }
  ],
  "hasMore": false,
  "nextCursor": null
}
#

Returns a link preview’s picture (WebP) or icon (PNG) as bytes.

HTTP
GET /api/v1/link-previews/{previewId}/{kind}
  • Scopes: tasks:read, or a signed link from Taskloader (no Authorization header)
  • Who: Viewer or above in the project
  • Project-limited credentials: allowed inside the credential’s projects; anything else is not_found
  • Retries: a read; safe to repeat
  • Rate limit: the read bucket; through a signed link, the link bucket instead (600 a minute, bursts of up to 200, per credential and address)

Returns the picture (cover, WebP) or the site icon (icon, PNG) Taskloader made for a link preview, for anyone in a project with a task that links to the page. Send your Authorization header, or use the signed link from the preview (cover.url, icon.url), which works without one for 10 minutes. Bytes, never JSON; cached privately for a day (signed links are not cached).

Parameters

#
NameInTypeRequiredDescription
previewIdpathid (lnk_…)YesLink preview id: lnk_ followed by 32 lowercase hex digits, for example lnk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
kindpath"cover" or "icon"Yescover (the page’s picture) or icon (the site’s icon).
expquerystringNoPart of a signed link (cover.url, icon.url): when it expires. Never build it yourself. Up to 20 characters.
credquerystringNoPart of a signed link: the credential it was issued to. Up to 200 characters.
sigquerystringNoPart of a signed link: its signature. Up to 100 characters.

Response

#

200: The picture (cover, WebP) or the site’s icon (icon, PNG). Cached privately for a day (not when read through a signed link).

Media types: image/webp, image/png.

Headers it sends: Content-Length, Cache-Control.

Errors

#
StatusCodeMeaning
400invalid_idThe id is for a different kind of resource
403insufficient_scopeThe credential lacks the required access
404not_foundNot found

And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.

Example

#
curl https://taskloader.com/api/v1/link-previews/lnk_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/cover \
  -H "Authorization: Bearer $TASKLOADER_API_KEY" \
  -o download.bin
HTTP
HTTP/1.1 200 OK
Content-Type: application/octet-stream