curl
curl -X GET "https://api.linkvite.io/v1/highlights/<id>" \
-H "x-api-key: $LINKVITE_API_KEY"import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.highlights.getAll('<id>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Highlights.GetAll(ctx, "<id>"){
"data": {
"bookmark": "<string>",
"highlights": [
{
"bookmark_id": "<string>",
"color": "lv-highlighter-1",
"created_at": "2023-11-07T05:31:56Z",
"end": 123,
"exact": "<string>",
"id": "<string>",
"note": "<string>",
"start": 123,
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "<string>"
}
]
},
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Highlights
Get highlights
Scope: highlights:read · Rate limit: 250 requests per 5 minutes
GET
/
v1
/
highlights
/
{id}
curl
curl -X GET "https://api.linkvite.io/v1/highlights/<id>" \
-H "x-api-key: $LINKVITE_API_KEY"import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.highlights.getAll('<id>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Highlights.GetAll(ctx, "<id>"){
"data": {
"bookmark": "<string>",
"highlights": [
{
"bookmark_id": "<string>",
"color": "lv-highlighter-1",
"created_at": "2023-11-07T05:31:56Z",
"end": 123,
"exact": "<string>",
"id": "<string>",
"note": "<string>",
"start": 123,
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "<string>"
}
]
},
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Was this page helpful?