Links

Create, read, update, and delete short links. Links support custom codes, expiration, password protection, UTM parameters, and more.

This documentation is available in English only.

Endpoints

POST
/v1/links

Create a new short link

GET
/v1/links

List all links

GET
/v1/links/:id

Get a specific link

PATCH
/v1/links/:id

Update a link

DELETE
/v1/links/:id

Delete a link

POST
/v1/links/bulk

Create links in bulk

Example

curl -X POST https://lnk24.co/api/v1/links \
  -H "Authorization: Bearer lnk_live_abc123" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/campaign",
    "custom_code": "spring-sale",
    "expires_at": "2026-04-01T00:00:00Z",
    "utm_source": "twitter",
    "utm_medium": "social",
    "utm_campaign": "spring-2026"
  }'