Endpoints
Everything the API can do, on one page. Every path below is relative to
https://lsg.bio/api/v1.
| Method | Path | Scope | Does |
|---|---|---|---|
GET | /whoami | — | Identify the calling token |
GET | /links | links:read | List links, filtered and paginated |
POST | /links | links:write | Create a link |
GET | /links/{id} | links:read | Fetch a single link |
PATCH | /links/{id} | links:write | Edit the fields you send |
DELETE | /links/{id} | links:delete | Delete a link |
GET | /links/{id}/pixels | links:read | List a link's retargeting pixels |
POST | /links/{id}/pixels | links:write | Set a provider's snippet |
DELETE | /links/{linkID}/pixels/{id} | links:delete | Remove a provider's snippet |
GET | /links/{id}/geo-rules | links:read | List a link's country rules |
POST | /links/{id}/geo-rules | links:write | Set a country rule |
DELETE | /links/{linkID}/geo-rules/{country} | links:delete | Remove a country rule |
GET | /links/{id}/variants | links:read | List A/B arms |
POST | /links/{id}/variants | links:write | Add an A/B arm (dated windows supported) |
DELETE | /links/{linkID}/variants/{id} | links:delete | Remove an A/B arm |
GET | /choice-pages | choices:read | List Choice Pages, paginated |
POST | /choice-pages | choices:write | Create a Choice Page |
GET | /choice-pages/{id} | choices:read | Fetch a single Choice Page |
PATCH | /choice-pages/{id} | choices:write | Edit the fields you send |
DELETE | /choice-pages/{id} | choices:delete | Delete a Choice Page |
POST | /choice-pages/{id}/destinations | choices:write | Add a store button |
DELETE | /choice-pages/{pageID}/destinations/{id} | choices:delete | Remove a store button |
{id} is the link's UUID — the id field, not its path. Failures are always
the error envelope, and traffic is subject to the
rate limits.
Endpoints require the Pro plan regardless of scopes, exactly like token creation. See Permissions & scopes.
The link object
Returned by every link endpoint:
{
"id": "6cb5cd5b-a2c8-4238-b548-b25991bc0559",
"path": "janedoe/mydeal",
"username": "janedoe",
"segment": "mydeal",
"destination_url": "https://example.com/spring-promo",
"kind": "short",
"title": "Spring promo",
"tags": ["newsletter"],
"click_count": 189,
"health": "healthy",
"last_status_code": 200,
"is_active": true,
"created_at": "2026-09-01T12:04:11Z",
"updated_at": "2026-09-18T08:20:02Z"
}
| Field | Type | Notes |
|---|---|---|
id | UUID | The link's id — what {id} in paths refers to, not the path |
path | string | Full public path, e.g. janedoe/mydeal |
username | string | Owner namespace — the first half of path, never editable |
segment | string | The second half of path; editable, renames the public URL |
destination_url | string | Where the link resolves |
kind | string | short or affiliate |
title | string | Display label; the path is used when absent |
health | string | healthy, broken, or unknown — never probed on free plans |
health_reason | string | Why the last probe called it broken; absent unless health is broken |
tags | array | Always a list, never null — empty when untagged |
click_count | number | Total clicks, bots included; not a string |
expires_at | RFC 3339 | Absent when the link never expires |
starts_at | RFC 3339 | Scheduled start; absent means live from creation |
max_clicks | number | Click cap; absent means uncapped |
clicks_remaining | number | Clicks left against the cap; absent when uncapped, floored at 0 |
last_checked_at, broken_since | RFC 3339 | Absent when never probed |
spark | array | Daily clicks, oldest first; returned by list, not by read — length controlled by spark_days (default 7; plan-clamped, absolute ceiling 365) |
utm_params | object | The campaign parameters on the link; absent when none |
is_active | boolean | false pauses the link |
last_status_code | number | HTTP status from the last probe; 0 when never checked or no response received |
created_at, updated_at | RFC 3339 |
Fields that are absent are genuinely unset — an absent expires_at means
"never", not "unknown".
GET /whoami
Identifies the token: which account it acts on, and what it may do. No scope is required, which makes it the right first call for a new credential.
curl https://lsg.bio/api/v1/whoami -H "Authorization: Bearer lsgbio_YOUR_TOKEN"
{
"user_id": "5f0b4d2e-9c1a-4a7e-b3f2-8f6c2d1e0a55",
"token": {
"id": "91c2f7d4-33ab-4f6e-9d20-c4b7e8a11f02",
"name": "Zapier",
"prefix": "lsgbio_a1b2c3d4e",
"scopes": ["links:read"]
}
}
GET /links
curl "https://lsg.bio/api/v1/links?page_size=50&query=promo&sort=clicks" \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
{
"links": [ { "...": "link objects" } ],
"next_page_token": "50",
"total_count": 137
}
total_count ignores pagination, so it is the whole result set rather than
the size of this page.
Query parameters
| Parameter | Values | Default |
|---|---|---|
page_size | Positive integer; values above 100 are served as 100 | 25 |
page_token | The next_page_token from the previous page | — |
query | Substring match over path, title, and destination | — |
kind | short, affiliate | all |
sort | newest, oldest, clicks, path | newest |
active | true, false | all |
health | healthy, broken, unknown | all |
tag | Only links carrying this tag | — |
spark_days | Days of history inlined as spark; 0 means the 7-day default, clamped to the plan's analytics window and an absolute ceiling of 365 | 7 |
Unrecognized values are rejected with 400 / validation_failed rather than
quietly ignored — a typo in sort=click_count must not look like a working
request that returned the wrong order.
Pagination repeats until next_page_token is absent:
curl "https://lsg.bio/api/v1/links?page_size=100&page_token=100" \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
POST /links
curl https://lsg.bio/api/v1/links \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"destination_url": "https://example.com/spring-promo",
"custom_slug": "spring",
"title": "Spring promo",
"tags": ["newsletter"]
}'
Answers 201 with the created link:
{
"link": { "...": "link object" },
"slug_was_taken": false
}
Body
| Field | Type | Notes |
|---|---|---|
destination_url | string | Required. Validated for scheme, loops, and private addresses |
custom_slug | string | Omit for a generated code; must be unused |
kind | string | short (default) or affiliate |
remove_suffix | boolean | Affiliate links only; ignored for short |
title | string | Display label; the path is used when absent |
tags | array | Lowercase labels, max 10 |
expires_at | RFC 3339 | Requires the expiry feature on your plan |
starts_at | RFC 3339 | Scheduled start; same paid feature as expiry |
max_clicks | number | Stop resolving after this many clicks; unset means no cap |
utm_params | object | The five campaign parameters — see below |
slug_was_taken reports that custom_slug was unavailable and a suffix was
added instead. That is not a failure — but if you asked for a specific path,
read the result rather than assume you got it.
Campaign parameters
utm_params adds tracking parameters to the destination when someone clicks.
The stored destination stays clean, so they can be corrected later without
rewriting the link.
{
"utm_params": {
"utm_source": "newsletter",
"utm_medium": "email",
"utm_campaign": "spring-sale",
"utm_term": "running-shoes",
"utm_content": "hero-button"
}
}
Only those five keys are accepted; anything else is a 400. Values are
lowercased and trimmed on the way in, because Spring Sale and spring-sale
are two campaigns to every tool that reads the parameter. The form in the
dashboard does the same as you leave each field.
Existing parameters are replaced, not merged, and other query parameters on the
destination are left alone — a ?ref= your destination already carried survives.
Safe retries (Idempotency-Key)
A create that times out leaves you guessing: the link may exist, and retrying
without a key creates a second one. Send an Idempotency-Key and a retry is
free.
curl -X POST https://lsg.bio/api/v1/links \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN" \
-H "Idempotency-Key: order-4711-line-2" \
-H "Content-Type: application/json" \
-d '{ "destination_url": "https://example.com/spring-promo" }'
Repeating that exact request — same key, same body — replays the original 201
byte for byte and creates nothing. The replay is marked:
Idempotent-Replayed: true
| Situation | Result |
|---|---|
| Same key, same body | The original 201 replayed, Idempotent-Replayed: true |
| Same key, different body | 409 idempotency_key_reuse |
| Same key, first request still running | 409 idempotency_key_reuse with Retry-After: 1 — retry the identical request |
| Same key after a failed (non-2xx) request | Accepted; a failure never spends its key |
| Same key after 24 hours | Accepted as a new request — replays expire |
What the key is bound to:
- Your token. Two tokens never share a key space, so one integration cannot collide with another, or read back its cached create.
- The exact request bytes. Re-serializing the body differently (reordered keys, reformatted numbers) makes a retry look like a different request. Send the same bytes.
- 24 hours. Long enough for any real retry, short enough that yesterday's response is not replayed into today's job.
Keys must be printable ASCII, up to 255 characters — a UUID or an order id both
work. A malformed key is 400 rather than ignored, because a client told its
retry would be deduplicated when it would not ships the duplicate anyway.
This is the difference from retrying without a key: with custom_slug, a retry
answers 201 with slug_was_taken: true and a suffixed path, so both links
exist and only one has the path you asked for.
Rate limits on create
POST /links is subject to the per-token window (rate limits)
and a narrower burst budget: 30 link creations per minute per account.
The create budget is keyed on the account, not the token, so minting more tokens
does not raise it. A replayed request is not charged — a retry of something that
already succeeded created no link.
GET /links/{id}
curl https://lsg.bio/api/v1/links/6cb5cd5b-a2c8-4238-b548-b25991bc0559 \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
{ "link": { "...": "link object" } }
An id that is not a UUID is 400; a UUID nobody owns is 404.
PATCH /links/{id}
Every field is optional and absent means unchanged. There is no PUT: a verb that replaced the resource would silently clear any field a client forgot to include, which makes partial edits the only safe shape for editing.
curl -X PATCH https://lsg.bio/api/v1/links/6cb5cd5b-a2c8-4238-b548-b25991bc0559 \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"is_active": false, "title": "Paused"}'
| Field | Type | Notes |
|---|---|---|
title | string | |
destination_url | string | Revalidated; repointing keeps the path |
segment | string | Renames within your namespace — changes the public URL |
is_active | boolean | false pauses the link |
tags | array | Replaces the whole set; [] clears every tag |
utm_params | object | Replaces the campaign parameters; {} clears them |
expires_at | RFC 3339 | |
clear_expiry | boolean | Removes an expiry; always allowed |
starts_at | RFC 3339 | Sets the scheduled start |
clear_starts_at | boolean | Removes the scheduled start; always allowed |
max_clicks | number | Sets a new cap |
clear_max_clicks | boolean | Removes the cap; always allowed |
tags and utm_params are both tri-state: leave them out to keep what is
there, send a value to replace them outright, send an empty one to clear.
Omitting a field is what makes a partial edit safe — sending the object you read
back unchanged works too, which is why GET /links carries utm_params on every
row rather than only on the single-link route.
Repointing destination_url resets health to unknown and clears
broken_since — even when the value is unchanged. A repointed destination
invalidates what was known about the old one, so the next probe starts fresh
rather than vouching for a URL it has never checked.
Scheduling windows (starts_at) and click caps (max_clicks) are
dashboard-only: this body neither accepts nor clears them, and they are absent
from link responses. The same holds for POST /links — manage both in the
dashboard.
tags is a tri-state: leave it out to keep the tags as they are, send a list
to replace them outright. Renaming a segment moves the public URL, so links
already in circulation stop resolving at the old path — the dashboard warns
about this, and the API does not second-guess you.
DELETE /links/{id}
curl -i -X DELETE https://lsg.bio/api/v1/links/6cb5cd5b-a2c8-4238-b548-b25991bc0559 \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
HTTP/1.1 204 No Content
No body: deletion has nothing to report beyond the status. The operation is
safe to retry — a second call answers 404, which is the truth. Deletion is
permanent and takes the link's analytics with it.
curl -i -X DELETE "https://lsg.bio/api/v1/links/6cb5cd5b-a2c8-4238-b548-b25991bc0559/geo-rules/DE"
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
## Unsupported paths
A path that matches no route answers the same envelope as everything else
rather than a plain-text page:
```json
{ "error": { "code": "not_found", "message": "no such endpoint" } }
So does the wrong verb on a path that does exist (405 /
method_not_allowed). One parser covers every failure.
Bulk import and export are session-only, not part of /api/v1: POST /links/import takes a CSV file over the dashboard cookie, and GET /links.csv downloads one the same way. Bearer tokens are refused there —
programmatic bulk moves go through the link endpoints above, one call per
link.
HTTP/1.1 204 No Content
Removes a link's rule for a country — or for one city when ?city= is given:
curl -i -X DELETE "https://lsg.bio/api/v1/links/6cb5cd5b-a2c8-4238-b548-b25991bc0559/geo-rules/DE?city=Berlin" \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
Query parameters
| Parameter | Values | Default |
|---|---|---|
city | A city with a stored rule | the whole country |
No body; repeating the call answers 404.
GET /links/{id}/variants
Lists the experiment arms behind a link's destination rotator.
curl https://lsg.bio/api/v1/links/6cb5cd5b-a2c8-4238-b548-b25991bc0559/variants \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
{
"variants": [
{
"id": "9aa4b1c2-3d5e-4f6a-8b7c-def123456789",
"link_id": "6cb5cd5b-a2c8-4238-b548-b25991bc0559",
"destination_url": "https://example.com/spring-b",
"weight": 50,
"country_code": "",
"device": "",
"os": "",
"browser": "",
"language": ""
}
]
}
starts_at / ends_at ride alongside when the arm runs a dated window, and
are absent when that end is unbounded. An id that is not a UUID is 400; a
UUID nobody owns is 404.
Not paginated, and deliberately: a link holds at most 50 variants, so this
list is always complete — there is no second page to fetch and no cursor to
carry. At the bound, POST /links/{id}/variants for a further arm is 400 /
validation_failed; delete an arm first. A non-positive weight, an ends_at
before starts_at, and an identical rule that already exists are also 400.
POST /links/{id}/variants
Adds one experiment arm. Dated windows are supported — omit a bound to leave that end open.
curl -X POST https://lsg.bio/api/v1/links/6cb5cd5b-a2c8-4238-b548-b25991bc0559/variants \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"destination_url": "https://example.com/spring-b",
"weight": 50,
"starts_at": "2026-10-01T00:00:00Z",
"ends_at": "2026-10-31T23:59:59Z"
}'
Answers 201 with the created variant:
{
"variant": {
"id": "9aa4b1c2-3d5e-4f6a-8b7c-def123456789",
"link_id": "6cb5cd5b-a2c8-4238-b548-b25991bc0559",
"destination_url": "https://example.com/spring-b",
"weight": 50,
"country_code": "",
"device": "",
"os": "",
"browser": "",
"language": "",
"starts_at": "2026-10-01T00:00:00Z",
"ends_at": "2026-10-31T23:59:59Z"
}
}
Body
| Field | Type | Notes |
|---|---|---|
destination_url | string | Required. Revalidated like any destination |
weight | number | Relative traffic share; must be positive |
country_code | string | Target one country; omit for everywhere |
device, os, browser, language | string | Targeting dimensions; omit for all |
starts_at, ends_at | RFC 3339 | Dated window; omit a bound to leave it open |
A non-positive weight, an ends_at before starts_at, or an identical rule
that already exists is 400 / validation_failed.
DELETE /links/{linkID}/variants/{id}
curl -i -X DELETE https://lsg.bio/api/v1/links/6cb5cd5b-a2c8-4238-b548-b25991bc0559/variants/9aa4b1c2-3d5e-4f6a-8b7c-def123456789 \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
HTTP/1.1 204 No Content
Removes one experiment arm. No body; repeating the call answers 404.
GET /choice-pages
curl "https://lsg.bio/api/v1/choice-pages?page_size=25" \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
{
"pages": [ { "...": "choice page objects" } ],
"next_page_token": "25",
"total_count": 3
}
total_count ignores pagination, so it is the whole result set rather than
the size of this page.
Query parameters
| Parameter | Values | Default |
|---|---|---|
page_size | Positive integer | 25 |
page_token | The next_page_token from the previous page | — |
POST /choice-pages
Creates a Choice Page; store buttons are added afterwards, one per call.
curl https://lsg.bio/api/v1/choice-pages \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"segment": "headphones",
"title": "Which headphones?",
"cta_text": "Choose your store",
"theme": "light"
}'
Answers 201 with the created page:
{
"page": {
"id": "c41a2e6b-9d3f-4a7b-8c5d-ef0123456789",
"title": "Which headphones?",
"cta_text": "Choose your store",
"logo_url": "",
"theme": "light",
"disclosure": "",
"is_active": true,
"path": "janedoe/headphones",
"segment": "headphones",
"destinations": [],
"views": 0,
"button_clicks": 0
}
}
Body
| Field | Type | Notes |
|---|---|---|
segment | string | The page's path within your namespace |
title | string | The page headline |
cta_text | string | The call-to-action above the buttons |
logo_url | string | Brand image |
theme | string | Page theme, same values as the dashboard form |
disclosure | string | Affiliate disclosure copy |
A segment that is taken or reserved is 409 / conflict, like a link slug.
GET /choice-pages/{id}
curl https://lsg.bio/api/v1/choice-pages/c41a2e6b-9d3f-4a7b-8c5d-ef0123456789 \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
{
"page": {
"id": "c41a2e6b-9d3f-4a7b-8c5d-ef0123456789",
"title": "Which headphones?",
"cta_text": "Choose your store",
"logo_url": "",
"theme": "light",
"disclosure": "",
"is_active": true,
"path": "janedoe/headphones",
"segment": "headphones",
"destinations": [
{
"id": "d52b3f7c-0e4a-4b8c-9d6e-f0123456789a",
"page_id": "c41a2e6b-9d3f-4a7b-8c5d-ef0123456789",
"retailer": "Amazon",
"url": "https://example.com/dp/abc",
"sort_order": 0,
"image_url": ""
}
],
"views": 41,
"button_clicks": 12
}
}
An id that is not a UUID is 400; a UUID nobody owns is 404 — never an
existence oracle, exactly like links.
PATCH /choice-pages/{id}
Every field is optional and absent means unchanged. Store buttons are managed on their own routes, not here.
curl -X PATCH https://lsg.bio/api/v1/choice-pages/c41a2e6b-9d3f-4a7b-8c5d-ef0123456789 \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"is_active": false, "title": "Paused"}'
| Field | Type | Notes |
|---|---|---|
title | string | |
cta_text | string | |
logo_url | string | |
theme | string | |
disclosure | string | |
is_active | boolean | false pauses the page |
segment | string | Renames within your namespace — changes the public URL |
Renaming a segment moves the public URL, so pages already in circulation stop resolving at the old path — the dashboard warns about this, and the API does not second-guess you.
DELETE /choice-pages/{id}
curl -i -X DELETE https://lsg.bio/api/v1/choice-pages/c41a2e6b-9d3f-4a7b-8c5d-ef0123456789 \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
HTTP/1.1 204 No Content
No body: deletion has nothing to report beyond the status, and takes the
page's store buttons with it. Safe to retry — a second call answers 404.
POST /choice-pages/{id}/destinations
Adds one store button to a Choice Page. Buttons render in sort order.
curl -X POST https://lsg.bio/api/v1/choice-pages/c41a2e6b-9d3f-4a7b-8c5d-ef0123456789/destinations \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"retailer": "Amazon",
"url": "https://example.com/dp/abc"
}'
Answers 201 with the created button:
{
"destination": {
"id": "d52b3f7c-0e4a-4b8c-9d6e-f0123456789a",
"page_id": "c41a2e6b-9d3f-4a7b-8c5d-ef0123456789",
"retailer": "Amazon",
"url": "https://example.com/dp/abc",
"sort_order": 0,
"image_url": ""
}
}
Body
| Field | Type | Notes |
|---|---|---|
retailer | string | Required. The store label on the button |
url | string | Required. Revalidated like any destination |
image_url | string | Brand image for the button |
DELETE /choice-pages/{pageID}/destinations/{id}
curl -i -X DELETE https://lsg.bio/api/v1/choice-pages/c41a2e6b-9d3f-4a7b-8c5d-ef0123456789/destinations/d52b3f7c-0e4a-4b8c-9d6e-f0123456789a \
-H "Authorization: Bearer lsgbio_YOUR_TOKEN"
HTTP/1.1 204 No Content
Removes one store button. The button id addresses the row; the page id is
accepted for symmetry. No body; repeating the call answers 404.
Pages
The bio page and its sub-pages. GET /pages returns the bio page first
(is_bio: true), then sub-pages oldest first. Requires pages:read to read
and pages:write to change anything; PATCH /profile uses profile:write.
| Method | Path | Does |
|---|---|---|
GET | /pages | Every page on the account. |
GET | /pages/{id} | One page with its blocks, in display order. |
POST | /pages | Create a sub-page (segment, title). |
PATCH | /pages/{id} | Change title, description, theme, segment, publish/index state. |
POST | /pages/{id}/blocks | Add a block (kind, label, url, …). |
PATCH | /pages/{id}/blocks/{blockID} | Change one block; clear_link detaches it from a short link. |
POST | /pages/{id}/blocks/reorder | Every block id on the page, top to bottom. |
PATCH | /profile | Display name, bio, avatar. |
Block kind is one of link, text, heading, social, embed, choice,
buy, contact, product, gallery.
curl https://lsg.bio/api/v1/pages \
-H "Authorization: Bearer $LSGBIO_TOKEN"
curl -X POST https://lsg.bio/api/v1/pages \
-H "Authorization: Bearer $LSGBIO_TOKEN" \
-d '{"segment":"menu","title":"Menu"}'
Campaigns
Read-first on purpose: a giveaway is money, legal rules and a draw, so the
dashboard remains the place it is built. The API is for reporting on it and for
the one lifecycle transition a launch checklist drives. Requires
campaigns:read, or campaigns:write for the status change.
| Method | Path | Does |
|---|---|---|
GET | /campaigns | Giveaways with live counts (status, page_size, page_token). |
GET | /campaigns/{id} | One giveaway with its prizes and entry actions. |
GET | /campaigns/{id}/participants | Entrants, paginated and searchable. |
GET | /campaigns/{id}/stats | Views, joins, entries, shares, plus the previous window. |
POST | /campaigns/{id}/status | {"status":"active"} — open, pause, or archive. |
Participant results never include email, phone, or custom-field answers. Those are opt-in fields in the dashboard and deliberately absent here, so a response body is safe to store or log.
Bulk import & export
The only way to manage links in bulk. These two live directly under /api
— not /api/v1 — and ride the dashboard session cookie, not an API
token, so there is no Authorization header here. See
import & export.
# Export every link as CSV (authenticated dashboard session)
curl -b cookies.txt https://lsg.bio/api/links.csv -o lsgbio-links.csv
# Import it back — 200 with a per-row report, not an error, when some rows fail
curl -b cookies.txt -X POST https://lsg.bio/api/links/import \
--data-binary @lsgbio-links.csv
RPC-only surface (no REST route)
The dashboard's Connect transport exposes more than REST does. There is no
REST route for any of these — the links table above is not exhaustive:
-
Webhooks — all seven RPCs (
CreateLinkWebhook,ListLinkWebhooks,ListLinkWebhookEvents,SetLinkWebhookActive,RotateLinkWebhookSecret,DeleteLinkWebhook,ListLinkWebhookDeliveries) and the four events (link.created,link.updated,link.deleted,link.exhausted). See webhooks. -
CheckPath— live slug availability for the create form. -
RecheckLink— probe a destination now instead of waiting for the sweep. See link health. -
ListTags— every distinct tag with its link count, for the filter dropdown. -
BulkUpdateLinks— one edit applied to every link matching the table's filters. -
ListLinkWebhookEvents— the event catalogue with display copy. -
Giveaways — building a campaign is RPC-only: actions, prizes, draws, winners, instant-win gates, coupon pools, webhooks, the public entry surface and the claim path. Two shapes, on
CampaignServiceandCampaignPublicService: a competition (actions, entries, a draw, winners) and an instant win, whose outcome is a claim rather than a draw. An instant win carries a gate (none,email,secret_code), a claim cap, a per-address limit, and one prize delivered as a coupon pool (AddPrizeCodes), a shared code, a download or a link.The REST surface covers reading (
GET /campaigns,GET /campaigns/{id}), reporting (participants,stats) and the lifecycle transition (POST /campaigns/{id}/status). Everything that changes what an entrant sees stays in the dashboard, where each edit is previewed.campaigns:*is grantable on a token. -
Pages beyond the block list — gallery images, page assets, themes, the brand kit and contact-message management remain RPC-only. The bio page, its sub-pages, their blocks and the public profile have REST routes; see Pages.