Agent-readable docs index: /docs/llms.txt. Full docs in one file: /docs/llms-full.txt. Download /docs/docs.zip to grep all markdown files locally.
/api/pinsPOST
Pin or unpin an owned note or quick link. This is a first-party session endpoint.
Request Bodyapplication/jsonrequired
type *"note" | "link"
id *string
Response
200 · New pin state.
data *object
Show properties
pinned *boolean
id *string
400 · The request body or parameter is invalid.
error *string
Human-readable error message.
401 · The bearer key is missing, malformed, revoked, or invalid.
error *string
Human-readable error message.
403 · The caller lacks the required permission or ownership.
error *string
Human-readable error message.
404 · The resource is not available to the caller.
error *string
Human-readable error message.
Request example
curl -X POST "https://bri.fyi/api/pins" \ -H "Content-Type: application/json" \ -d '{ "type": "note", "id": "string" }'