LinkTrace docs

Links are the core object: slug, host, destination, and controls

A LinkTrace link is more than a redirect record. It carries routing, attribution, analytics, UTM reuse, protection, and pause state.

Link model

A short link is usually identified by slug, and optionally by a custom domain host when the workspace has active domains.

  • slug identifies the short path.
  • host becomes part of routing for custom-domain links.
  • destinationUrl is the redirect target.
  • Links can also carry metadata, active state, expiration, password rules, and attribution controls.

Create a link

Server-side API creation is the most explicit integration path.

bash
curl 'https://api.linktrace.cc/api/v1/links' \
  -X POST \
  -H 'Authorization: Bearer lt_your_secret_key' \
  -H 'Content-Type: application/json' \
  -d '{
    "destinationUrl":"https://example.com/pricing",
    "slug":"launch",
    "trackConversion":true
  }'

Operational controls

LinkTrace already supports the main short-link control surface from the API and dashboard.

  • Pause or reactivate links.
  • Set expiration behavior.
  • Password-protect destinations.
  • Use explicit slugs instead of generated ones.
  • Enable conversion tracking on links that should emit attribution ids.
Related guides