curl
curl -X POST "https://api.linkvite.io/v1/bookmarks/from-parsed-link" \
-H "x-api-key: $LINKVITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.bookmarks.createFromParsedData({});client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Bookmarks.CreateFromParsedData(ctx, &linkvite.BookmarkFromParsedDataRequest{
}){
"data": {
"allow_comments": true,
"archive_size": 123,
"archive_status": "failed",
"collection_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"icon": "<string>",
"id": "<string>",
"is_broken": true,
"last_opened_at": "2023-11-07T05:31:56Z",
"local_id": "<string>",
"mime_type_id": 0,
"old_collection_id": "<string>",
"owner_avatar": "<string>",
"owner_id": "<string>",
"owner_name": "<string>",
"owner_username": "<string>",
"processing": true,
"role": "admin",
"size": 123,
"starred": true,
"status": "active",
"tags": "<string>",
"thumbnail": "<string>",
"title": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by_id": "<string>",
"url": "<string>",
"user_id": "<string>",
"views": 123,
"collection_name": "<string>",
"description": "<string>",
"rss_feed_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>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Bookmarks
Create bookmark from parsed data
Scope: bookmarks:write · Rate limit: 250 requests per 5 minutes
POST
/
v1
/
bookmarks
/
from-parsed-link
curl
curl -X POST "https://api.linkvite.io/v1/bookmarks/from-parsed-link" \
-H "x-api-key: $LINKVITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.bookmarks.createFromParsedData({});client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Bookmarks.CreateFromParsedData(ctx, &linkvite.BookmarkFromParsedDataRequest{
}){
"data": {
"allow_comments": true,
"archive_size": 123,
"archive_status": "failed",
"collection_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"icon": "<string>",
"id": "<string>",
"is_broken": true,
"last_opened_at": "2023-11-07T05:31:56Z",
"local_id": "<string>",
"mime_type_id": 0,
"old_collection_id": "<string>",
"owner_avatar": "<string>",
"owner_id": "<string>",
"owner_name": "<string>",
"owner_username": "<string>",
"processing": true,
"role": "admin",
"size": 123,
"starred": true,
"status": "active",
"tags": "<string>",
"thumbnail": "<string>",
"title": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by_id": "<string>",
"url": "<string>",
"user_id": "<string>",
"views": 123,
"collection_name": "<string>",
"description": "<string>",
"rss_feed_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>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Was this page helpful?