URL786 API

A predictable REST API for creating and measuring short links. Authenticate with an API key generated from your dashboard.

Authentication

Send your key in the Authorization header. Keys are secret — never expose them in browser code.

curl https://url786.com/api/v1/links \
  -H "Authorization: Bearer lw_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"destination_url":"https://example.com/product","custom_alias":"spring"}'

Endpoints

  • POST/api/v1/linksCreate a short link
  • GET/api/v1/links/:idRetrieve a single link
  • PATCH/api/v1/links/:idUpdate a link's destination or settings
  • DELETE/api/v1/links/:idDelete a link
  • GET/api/v1/links/:id/analyticsFetch aggregated click analytics

Example response

{
  "id": "0b0f2b3e-...",
  "short_code": "x7K92",
  "short_url": "https://url786.com/x7K92",
  "destination_url": "https://example.com/product",
  "clicks": 128,
  "created_at": "2026-08-11T09:12:44.000Z"
}

Rate limits apply per API key and plan. Exceeding them returns HTTP 429 with aRetry-After header.