Enter a name and expiry, and select only the scopes you use (see the scope list below). A first request needs only customers:write; Funnel server decisions need customers:write, sessions:create, funnels:run. A Run uses the permissions of the Key that started it: Paywall and Offering steps need entitlements:read; buying from a Paywall also needs billing:write (quote, confirm and cancel) and billing:read (settlement and recovery reads); claiming or showing Coupons needs offers:resolve. In the Console's Create Key dialog, "Use Funnel start permissions" selects all of them: funnels:run, sessions:create, customers:write, entitlements:read, offers:resolve, billing:read, billing:write.
A Key is bound to one App and environment, expires in 1–365 days, and counts toward a limit of 20 active Keys per App/environment. Click Generate Key. The complete Key appears once. Save it in your backend secret store or a Git-ignored local .env as LONGPLAY_SERVER_KEY; never put it in browser code or public docs.
Manage Customer messaging preferences and devices; send and read messages from a trusted server.
customers:read
Read Customers, lists and seats.
customers:write
Create, update and claim Customers.
sessions:create
Issue, renew and revoke Customer/Guest sessions; also required to start Funnels.
content:read
Read standalone Page, Popup and Banner content by resource or fixed version for the verified Customer or Guest.
entitlements:read
Check access, read holdings, resolve Offerings and Paywalls; also required when a Funnel Run started with the Key reaches a Paywall or Offering step.
credits:read
Read balances, usage, ledger, statements, analytics and AI pricing.
credits:consume
Report usage and consume or reserve balance.
credits:manage
Grant and adjust balances, set usage and manage Entities.
billing:read
Read payments, subscriptions, trials, invoices and refunds; also required when a Funnel Run started with the Key reads a Paywall purchase's settlement or recovery.
billing:write
Purchases, subscription changes, refunds, invoices, billing controls, seats and native purchases; also required when a Funnel Run started with the Key quotes, confirms or cancels a Paywall purchase.
offers:resolve
Customer coupon redemption, claims and lists, referral codes and rewards; also required when a Funnel Run started with the Key claims or shows Coupons.
offers:grant
Grant coupons to Customers from your backend.
features:read
Download and evaluate feature flags.
events:write
Report behavior, exposure and feature-flag usage events.
funnels:run
Start and advance Funnels, server decisions and adoption reports.
code-references:read
CLI/CI reads the code-reference scan configuration.
code-references:write
CLI/CI uploads code-reference scan reports.
app-manifests:write
Upload the App page map (IAM) from builds; must be the Key's only permission.
Scopes a Server Key can hold
messaging:write
Allows
Manage Customer messaging preferences and devices; send and read messages from a trusted server.
customers:read
Allows
Read Customers, lists and seats.
customers:write
Allows
Create, update and claim Customers.
sessions:create
Allows
Issue, renew and revoke Customer/Guest sessions; also required to start Funnels.
content:read
Allows
Read standalone Page, Popup and Banner content by resource or fixed version for the verified Customer or Guest.
entitlements:read
Allows
Check access, read holdings, resolve Offerings and Paywalls; also required when a Funnel Run started with the Key reaches a Paywall or Offering step.
credits:read
Allows
Read balances, usage, ledger, statements, analytics and AI pricing.
credits:consume
Allows
Report usage and consume or reserve balance.
credits:manage
Allows
Grant and adjust balances, set usage and manage Entities.
billing:read
Allows
Read payments, subscriptions, trials, invoices and refunds; also required when a Funnel Run started with the Key reads a Paywall purchase's settlement or recovery.
billing:write
Allows
Purchases, subscription changes, refunds, invoices, billing controls, seats and native purchases; also required when a Funnel Run started with the Key quotes, confirms or cancels a Paywall purchase.
offers:resolve
Allows
Customer coupon redemption, claims and lists, referral codes and rewards; also required when a Funnel Run started with the Key claims or shows Coupons.
offers:grant
Allows
Grant coupons to Customers from your backend.
features:read
Allows
Download and evaluate feature flags.
events:write
Allows
Report behavior, exposure and feature-flag usage events.
funnels:run
Allows
Start and advance Funnels, server decisions and adoption reports.
code-references:read
Allows
CLI/CI reads the code-reference scan configuration.
code-references:write
Allows
CLI/CI uploads code-reference scan reports.
app-manifests:write
Allows
Upload the App page map (IAM) from builds; must be the Key's only permission.
The Key that issues a Customer session bounds what that session can call in the browser: for example, to let the browser read access, buy and redeem coupons, the issuing Key needs sessions:create plus entitlements:read, billing:read, billing:write and offers:resolve. CI code-reference scanning uses a separate Key with only code-references:read and code-references:write.
If scopes change or a Key is lost or near expiry, create a replacement for the same App/environment. Update backend configuration, confirm successful requests, then revoke the old Key. Revocation or expiry affects later authentication; it does not roll back committed operations.