Permissions & scopes
Every token grants a specific, explicit set of scopes chosen at creation. A token with no scopes authenticates and can do nothing; there is no "full access" token.
The scope set
| Scope | Grants |
|---|---|
links:read | Read short links and their metadata |
links:write | Create and edit short links |
links:delete | Delete short links |
profile:read | Read profile and account metadata |
profile:write | Update the profile |
campaigns:read | Read campaigns and participants |
campaigns:write | Create and edit campaigns |
campaigns:delete | Delete campaigns |
choices:read | Read Choice Pages and their store buttons |
choices:write | Create and edit Choice Pages |
choices:delete | Delete Choice Pages |
products:read | Read products, offers, and catalog metadata |
products:write | Create and edit products and offers |
conversions:write | Import affiliate conversions |
affiliates:read | Read affiliate reports and webhook deliveries |
affiliates:write | Manage affiliate programs, defaults, and webhooks |
commerce:read | Read the creator's own store orders and revenue (read-only) |
pages:read | Read the bio page and its sub-pages |
pages:write | Edit pages and their blocks |
analytics:read | Read account-wide click totals |
booking:read | Read event types and bookings |
forms:read | Read forms and response metadata |
domains:read | Read custom domains |
domains:write | Add custom domains |
Scopes are resource:action strings. New scopes arrive as new resources ship;
a token only ever holds what was explicitly granted at creation, so new
capabilities never silently widen an existing token.
campaigns:write is accepted by exactly one route today —
POST /campaigns/{id}/status, the lifecycle transition. Building a campaign
(actions, prizes, draws) remains dashboard-only, so a write scope that can open
or pause a giveaway cannot silently restructure its rules.
commerce:* has no write half on purpose. lsg.bio is not the merchant of
record: orders arrive from the creator's own Shopify/WooCommerce store, and no
API caller can create, refund, or pay an order.
campaigns:* covers giveaways of both shapes. A competition and an instant win
— a coupon pool, a shared code, a download or a link behind a gate — are the same
resource with a different kind, so there is no rewards:* scope to grant and
none is coming; campaigns:write is what creates and edits both.
How enforcement works
Each endpoint names exactly one required scope. The check runs after authentication:
// 403 — authenticated, but the token lacks links:write
{
"error": {
"code": "insufficient_scope",
"message": "This request requires the links:write scope."
}
}
Read actions require read scopes even when they are triggered by a write-shaped flow. When an endpoint ships, its docs state the scope it needs.
Choosing scopes well
- Read-only by default. Most integrations — dashboards, exports,
monitors — need only
*:read. - Write is not delete. An automation that creates and edits links needs
links:write; nothing in normal operation needslinks:delete. - Separate tokens for separate jobs beat one powerful token: when the newsletter tool no longer needs campaign access, you revoke one token, not reconfigure three.
Plan gating
API access itself requires the Pro plan, independent of scopes:
- Creating tokens on another plan fails in the dashboard (the panel shows the upgrade prompt instead of the form).
- Requests from existing tokens fail with
403/plan_requiredif the plan lapses, and resume when it is active again.