The Links API lets you programmatically create, read, update, reorder, and delete links on your profile page.
List all links
shell
GET /v1/links Authorization: Bearer ls_live_YOUR_KEY
Create a link
json
POST /v1/links
{
"type": "url",
"title": "My new link",
"url": "https://example.com",
"visible": true
}Update a link
json
PATCH /v1/links/:id
{
"title": "Updated title",
"visible": false
}Reorder links
json
POST /v1/links/reorder
{
"order": ["lnk_abc", "lnk_xyz", "lnk_123"]
}Delete a link
shell
DELETE /v1/links/:id
Link IDs are stable and do not change. You can safely store link IDs in your own database for future reference.
Was this article helpful?