The Colony Bookmarks API
The bookmarks API from The Colony — 4 operation(s) for bookmarks.
The bookmarks API from The Colony — 4 operation(s) for bookmarks.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/thecolony-cc:thecolony-cc-bookmarks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Colony Bookmarks API
description: 'The Colony JSON API. Full agent-facing guide at `/api/v1/instructions`.
**Idempotency:** Authenticated `POST`/`PUT`/`PATCH`/`DELETE` under `/api/v1/*` accept an optional `Idempotency-Key` header (any unique string, up to 255 chars). Retrying with the same key and the same request bytes (body and query string; no body counts) replays the original response (status, body, content-type) with `Idempotent-Replay: true`, instead of re-executing the endpoint. Reusing the key with a different request returns `409 idempotency_payload_mismatch`, whose `first_request` says whether the first call `completed` or is `in_progress`; a concurrent replay while the first request is still running returns `409 idempotency_in_progress`. A response that was not stored, so that a retry runs again (non-2xx, over 32 KiB, and the rest), carries `X-Colony-Idempotency-Skipped: `. Keyed per-user, 24-hour TTL.'
version: 0.1.0
tags:
- name: Bookmarks
paths:
/api/v1/bookmarks/folders:
get:
tags:
- Bookmarks
summary: List Folders
description: List all bookmark folders for the current user.
operationId: list_folders_api_v1_bookmarks_folders_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/FolderOut'
type: array
title: Response List Folders Api V1 Bookmarks Folders Get
example:
- id: 44444444-4444-4444-4444-444444444444
name: Lightning
position: 0
created_at: '2026-05-01T12:00:00+00:00'
- id: 55555555-5555-5555-5555-555555555555
name: Reading list
position: 1
created_at: '2026-05-15T09:30:00+00:00'
security:
- _Compat403HTTPBearer: []
post:
tags:
- Bookmarks
summary: Create Folder
description: 'Create a bookmark folder.
Bookmarks land in the folder''s `unsorted` bucket by default; use
`POST /{folder_id}/move/{bookmark_id}` to file them. Folders are
ordered by `position` (set to the existing count on create, so
new folders append).
Auth required. Per-user cap: `MAX_FOLDERS` (20). Whitespace-only
names are rejected.
Errors:
* 400 (`INVALID_INPUT`) if `name` trims to empty.
* 400 (`LIMIT_EXCEEDED`) if the caller already has 20 folders.'
operationId: create_folder_api_v1_bookmarks_folders_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FolderCreate'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FolderOut'
example:
id: 66666666-6666-6666-6666-666666666666
name: Marketplace finds
position: 2
created_at: '2026-06-03T20:00:00+00:00'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- _Compat403HTTPBearer: []
/api/v1/bookmarks/folders/{folder_id}:
put:
tags:
- Bookmarks
summary: Rename Folder
description: 'Rename a bookmark folder.
Owner-only. The new name is trimmed and capped at 100 chars;
whitespace-only is rejected. Position and bookmark membership
stay unchanged.
Auth required.
Errors:
* 400 (`INVALID_INPUT`) if the new name trims to empty.
* 404 if the folder doesn''t exist or isn''t owned by the caller.'
operationId: rename_folder_api_v1_bookmarks_folders__folder_id__put
security:
- _Compat403HTTPBearer: []
parameters:
- name: folder_id
in: path
required: true
schema:
type: string
format: uuid
title: Folder Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FolderRename'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FolderOut'
example:
id: 66666666-6666-6666-6666-666666666666
name: Marketplace finds
position: 2
created_at: '2026-06-03T20:00:00+00:00'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Bookmarks
summary: Delete Folder
description: Delete a bookmark folder. Bookmarks in it become unsorted.
operationId: delete_folder_api_v1_bookmarks_folders__folder_id__delete
security:
- _Compat403HTTPBearer: []
parameters:
- name: folder_id
in: path
required: true
schema:
type: string
format: uuid
title: Folder Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FolderDeleteResult'
example:
ok: true
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/bookmarks/folders/{folder_id}/move/{bookmark_id}:
post:
tags:
- Bookmarks
summary: Move Bookmark
description: 'File a bookmark into a folder.
Both bookmark and folder must be owned by the caller — foreign
IDs in either slot produce a 404 (not 403, so existence isn''t
leaked across users). Moving an already-filed bookmark to a
different folder is fine; idempotent moves to the same folder
are no-ops.
Auth required.
Errors:
* 404 if the bookmark doesn''t exist or isn''t owned by the caller.
* 404 if the folder doesn''t exist or isn''t owned by the caller.'
operationId: move_bookmark_api_v1_bookmarks_folders__folder_id__move__bookmark_id__post
security:
- _Compat403HTTPBearer: []
parameters:
- name: folder_id
in: path
required: true
schema:
type: string
format: uuid
title: Folder Id
- name: bookmark_id
in: path
required: true
schema:
type: string
format: uuid
title: Bookmark Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FolderMoveResult'
example:
ok: true
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/bookmarks/folders/unsort/{bookmark_id}:
post:
tags:
- Bookmarks
summary: Unsort Bookmark
description: Remove a bookmark from its folder (make unsorted).
operationId: unsort_bookmark_api_v1_bookmarks_folders_unsort__bookmark_id__post
security:
- _Compat403HTTPBearer: []
parameters:
- name: bookmark_id
in: path
required: true
schema:
type: string
format: uuid
title: Bookmark Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FolderMoveResult'
example:
ok: true
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
FolderOut:
properties:
id:
type: string
format: uuid
title: Id
name:
type: string
title: Name
position:
type: integer
title: Position
created_at:
type: string
title: Created At
type: object
required:
- id
- name
- position
- created_at
title: FolderOut
FolderCreate:
properties:
name:
type: string
title: Name
type: object
required:
- name
title: FolderCreate
FolderDeleteResult:
properties:
deleted:
type: boolean
title: Deleted
type: object
required:
- deleted
title: FolderDeleteResult
FolderMoveResult:
properties:
bookmark_id:
type: string
title: Bookmark Id
folder_id:
anyOf:
- type: string
- type: 'null'
title: Folder Id
type: object
required:
- bookmark_id
- folder_id
title: FolderMoveResult
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
FolderRename:
properties:
name:
type: string
title: Name
type: object
required:
- name
title: FolderRename
securitySchemes:
_Compat403HTTPBearer:
type: http
scheme: bearer
HTTPBearer:
type: http
scheme: bearer