API Overview
REST API v1 for links, analytics, domains and partner operations: base URL, key kinds, scopes and the white-label model.
Updated August 13, 2026
Everything the dashboard does, the API does too: create links with targeting and A/B splits, read analytics, connect domains, manage clients and plans. The API is a first-class product surface — the dashboard and the API run the same code and enforce the same limits.
Base URL
https://api.linkprofit.com/v1
All requests use HTTPS and JSON. Responses are JSON except the QR image and the CSV export. The interactive, always-current reference lives at /docs/api/reference, generated from the same schemas that validate every request.
Two kinds of keys
| Key prefix | Scope | Created in | Opens |
|---|---|---|---|
| lp_live_… | Workspace | Workspace settings → API keys | /links, /analytics, /domains, /workspace, /events, /webhooks |
| lpp_live_… | Partner | Partner settings → API keys | /partner/* and /webhooks |
A workspace key acts inside one client workspace. A partner key manages the partner account: clients, plans, domains, payments. Keys carry scopes that limit what each key can do.
Versioning
v1 is frozen: fields are only added, never renamed or removed. Breaking changes
would ship as /v2. Build against the documented fields and ignore unknown ones.
White-label: offering the API to your clients
If you run a white-label link service, the API is part of what you resell:
- Keys are yours to hand out. Each client creates workspace keys in their own branded dashboard (Settings → API keys) — you never share your partner key.
- The host stays shared. In v1 all API traffic goes to
api.linkprofit.com— a custom API domain per partner is not available yet. Document the base URL as “the API host of your service”; the responses carry no LinkProfit branding. - Limits follow your plans. API access is a feature flag on the plans you
sell (
api_access), and each key’s rate limit comes from the plan. A client on a plan without API access gets403 plan_restricted.
See the white-label guide for a ready-to-copy page you can adapt for your own developer docs.
Quick pointers
- Quickstart — create a link in two minutes.
- Authentication — keys, scopes, key rotation.
- Pagination — cursors on every list endpoint.
- Errors — the single error format and every code.
- Rate limits — sliding window, headers, retries.
- Webhooks — signed event deliveries with retries.