Last Updated: 3/16/2026
Links API
The Links API allows you to manage bookmarks in LinkAce programmatically.
Endpoints
List Links
GET /api/v2/linksRetrieve a paginated list of links visible to the authenticated user.
Query Parameters:
order_by- Field to order by:id,url,title,description,visibility,status,check_disabled,created_at,updated_at,randomorder_dir- Sort direction:ascordesc(default:desc)page- Page numberper_page- Items per page
Response:
{
"data": [
{
"id": 1,
"user_id": 1,
"url": "https://example.com",
"title": "Example Site",
"description": "An example bookmark",
"icon": "bookmark",
"visibility": 1,
"status": 1,
"check_disabled": false,
"created_at": "2024-01-15T10:30:00.000000Z",
"updated_at": "2024-01-15T10:30:00.000000Z"
}
],
"links": { ... },
"meta": { ... }
}Get Link
GET /api/v2/links/{id}Retrieve a specific link by ID, including related lists and tags.
Response:
{
"id": 1,
"user_id": 1,
"url": "https://example.com",
"title": "Example Site",
"description": "An example bookmark",
"icon": "bookmark",
"visibility": 1,
"status": 1,
"check_disabled": false,
"created_at": "2024-01-15T10:30:00.000000Z",
"updated_at": "2024-01-15T10:30:00.000000Z",
"lists": [...],
"tags": [...]
}Create Link
POST /api/v2/linksCreate a new link.
Request Body:
{
"url": "https://example.com",
"title": "Example Site",
"description": "An example bookmark",
"visibility": 1,
"lists": [1, 2],
"tags": [3, 4]
}Required Fields:
url- The URL to bookmark
Optional Fields:
title- Link title (auto-generated if not provided)description- Link description (auto-generated if not provided)icon- Icon identifiervisibility- Visibility level (1 = private, 2 = internal, 3 = public)check_disabled- Disable automatic link checking (boolean)lists- Array of list IDs to associatetags- Array of tag IDs to associate
Response: Returns the created link object.
Update Link
PATCH /api/v2/links/{id}Update an existing link.
Request Body: Same as Create Link, all fields optional.
Response: Returns the updated link object.
Delete Link
DELETE /api/v2/links/{id}Delete a link (moves to trash).
Response: Empty response with 200 status on success, 500 on failure.
Check Link Status
GET /api/v2/links/checkCheck the status of links (used for link health monitoring).
Get Link Notes
GET /api/v2/links/{id}/notesRetrieve all notes associated with a specific link.
Response:
{
"data": [
{
"id": 1,
"link_id": 1,
"note": "This is a note about the link",
"created_at": "2024-01-15T10:30:00.000000Z",
"updated_at": "2024-01-15T10:30:00.000000Z"
}
]
}Link Model
Fields
id(integer) - Unique identifieruser_id(integer) - Owner user IDurl(string) - The bookmark URLtitle(string) - Link titledescription(string|null) - Link descriptionicon(string|null) - Icon identifiervisibility(integer) - Visibility level (1=private, 2=internal, 3=public)status(integer) - Link status (1=OK, 2=Moved, 3=Broken)check_disabled(boolean) - Whether automatic checking is disabledlast_checked_at(datetime|null) - Last check timestampthumbnail(string|null) - Thumbnail URLcreated_at(datetime) - Creation timestampupdated_at(datetime) - Last update timestampdeleted_at(datetime|null) - Soft delete timestamp
Visibility Levels
1- Private: Only visible to the owner2- Internal: Visible to all authenticated users3- Public: Visible to everyone
Status Codes
1- OK: Link is accessible2- Moved: Link has been redirected3- Broken: Link is inaccessible
Relationships
Links can be associated with:
- Lists - Organize links into collections
- Tags - Categorize links with tags
- Notes - Add notes to links
- User - Owner of the link
Authorization
All link operations require authentication. Users can only access:
- Their own private links
- Internal links from other users (if authenticated)
- Public links from any user
System API tokens with private access can view all private content.