REST API for pages, links, blocks and statistics
Every dashboard action is a documented REST endpoint. Bearer tokens for interactive sessions, long-lived API keys with scopes for automation (Basic and above), and HMAC-signed webhooks that report events back to you. Looking for the dashboard itself? That is deck.linkharbor.com.
curl -X POST https://dock.at-harbor.com/v1/ingest/$ID \ -H "Authorization: Bearer $INGEST_SECRET" \ -H "Content-Type: application/json" \ -d '{ "event": "player.joined", "data": { "player": "Steve" }, "state": { "type": "game_server", "online": true, "players_online": 7, "players_max": 40 } }' Endpoint families
register (with date of birth and consent), login, refresh, logout, password reset, e-mail change verification, sign-in with Google or Facebook, two-factor challenge, API key → Bearer exchange
profile, e-mail and password change (old password required), billing profile, device tokens for push, two-factor setup, verify, recovery codes and disable
entitlements, usage per metric, members with roles, invites, ownership transfer to another member, protection tier default, custom templates, callback secrets, API keys
create, list, update, delete, handle availability, versions, publish, SEO per page, visibility (public, private, password), uploads
read and patch the draft, validate before publishing, preview tokens for the iframe
create, reorder, enable, schedule, country and device rules, per-link protection tier
text, image, embed, opening hours, coupon, contact, notice, info modal, form, Support and integration blocks; block schemas; multipart uploads bound to template slots; where an asset is used, before you delete it
create short links on lhbr.co with optional custom slug, list and search by slug, title or target URL, update, delete; daily click statistics (QR scans included)
form definitions, public submit endpoint, submissions list with cursor paging, CSV export
subscribe to page.published, form.submitted, domain.verified and domain.disabled; HMAC-signed deliveries, secret rotation, test delivery, manual redelivery
add a custom domain, verify by DNS, pages at the root and below it
views, clicks, unique visitors and click-through rate per page, link and block; breakdowns by country, device, referrer and campaign; conversions
send a push to followers, usage against the weekly cap, history; push rules triggered by integration events
follow and unfollow, list with unread counts, collections, search across followed pages
connect Instagram, TikTok, Bluesky, Spotify, Apple Music, Deezer, YouTube, Twitch, Patreon, GitHub, GitLab, RSS / Podcast, Google Places, Match Day, Shopify, WooCommerce, eBay, Eventbrite, Ticket Tailor, Ticketmaster, Calendly, Calendar (iCal), Careers Page or Custom (API); widget state; event history
public page search with typo tolerance and prefix ranking
localised prices, Stripe Checkout, customer portal, Stripe Connect onboarding for the Support block
Liveness check at / and /health. Public pages and /go redirects are served by the edge network, not by this API host.
Common calls
curl "https://dock.at-harbor.com/v1/discover/pages?q=jane" \
-H "Authorization: Bearer $LH_TOKEN" curl "https://dock.at-harbor.com/v1/plans?country=DE¤cy=EUR&has_vat_id=true" curl "https://dock.at-harbor.com/v1/pages/available?handle=myname" curl -X POST https://dock.at-harbor.com/v1/token \
-H "Content-Type: application/json" \
-d '{"key_id":"6F668EA6598B0692","key_secret":"lt_..."}' curl -X POST https://dock.at-harbor.com/v1/pages \
-H "Authorization: Bearer $LH_TOKEN" \
-H "Content-Type: application/json" \
-d '{"handle":"myname","template_key":"creator"}' curl -X PATCH https://dock.at-harbor.com/v1/pages/42/draft \
-H "Authorization: Bearer $LH_TOKEN" \
-d '{"config":{"profile_name":"Jane"},"theme_config":{"button_style":"pill","font":"Sora"}}' curl -X POST https://dock.at-harbor.com/v1/pages/42/links \
-H "Authorization: Bearer $LH_TOKEN" \
-d '{"title":"DE Store","target_url_template":"https://shop.de/...","geo":{"mode":"allowlist","countries":["DE","AT"]}}' curl -X POST https://dock.at-harbor.com/v1/pages/42/publish \
-H "Authorization: Bearer $LH_TOKEN" curl https://dock.at-harbor.com/v1/pages/42/versions/7 \
-H "Authorization: Bearer $LH_TOKEN" curl -X POST https://dock.at-harbor.com/v1/users/me/device-tokens \
-H "Authorization: Bearer $LH_TOKEN" \
-d '{"token":"fcm_...","platform":"android"}' curl https://dock.at-harbor.com/v1/workspaces/me/usage \
-H "Authorization: Bearer $LH_TOKEN" curl -X POST https://dock.at-harbor.com/v1/workspaces/me/callback-secrets/3/rotate \
-H "Authorization: Bearer $LH_TOKEN" 













Full reference
OpenAPI 3.1 spec at https://dock.at-harbor.com/openapi.yaml
Interactive docs at docs.linkharbor.com
API key scopes
read:pageswrite:pagesread:linkswrite:linksread:assetswrite:assetsread:formswrite:formsread:workspaceswrite:workspacesread:short_linkswrite:short_linksread:statsread:donationswrite:templates write:X automatically includes read:X for the same resource. Statistics and supporter payments are read-only, workspace templates write-only. API keys are available from the Basic plan (2 keys), Pro has 5, Agency 20, Enterprise 50. Pages scope covers draft, SEO, versions and content blocks; links and uploads have their own scopes.
Rate limits
POST /v1/token, exchanging an API key for a Bearer token. The first call of every integration.
Default bucket for every signed-in call: pages, links, blocks, forms, short links, stats. Calls without a token share the public bucket, 120 per minute per IP.
GET /v1/discover/pages, the public search. Counted per user, per IP without sign-in.
Counted per workspace for API keys, per user for dashboard sessions, per IP otherwise, and not per plan. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Bucket; a 429 includes Retry-After. Buckets reset on the minute. Auth, subscriptions and sale callbacks have their own, tighter buckets of the same shape.
API keys and webhooks come with Basic; see plans and limits. How tokens, keys and data are protected is on the security page. Building pages for clients? Read LinkHarbor for agencies, or see every feature the API covers.

