Skip to content
Skip to Content
DevelopersAPI referenceAnnotations

List the caller's annotations across items

GET
/v1/annotations

Newest first, each with the item it is in, on items the caller can still read. An API key needs read access to items.

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.

Query Parameters

item_id?string

Only annotations on this item

Length26 <= length <= 26
color?string
Default"yellow"
Value in"yellow""green""blue""pink"
q?string

Words in the passage or its note (English stemming; quotes, or and -word work)

Lengthlength <= 500
cursor?string

next_cursor from the previous page

limit?integer
Range1 <= value <= 200
Default50

Response Body

A page of annotations

application/json
  1. response
annotations*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://example.com/v1/annotations'
Example Response
{  "annotations": [    {      "id": "string",      "item_id": "string",      "text": "string",      "prefix": "string",      "suffix": "string",      "offset": 0,      "color": "yellow",      "note": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "item": {        "id": "string",        "kind": "string",        "title": "string",        "url": "string",        "domain": "string"      }    }  ],  "next_cursor": "string"}