# All operations

Every HTTP operation with its path, credential, scope, SDK methods and purpose, plus Funnel commands and public endpoints.

Last updated: 2026-11-06

[Web version](https://www.longplayai.com/docs/api/operations)

<a id="summary"></a>

## Summary

95 ordinary operations. There are also 35 Funnel commands and 12 public configuration and experiment endpoints. Every operation runs under its credential, scope and App/environment checks.

- Open an operation for its request example, body parameters, response fields and SDK methods.
- In the JavaScript SDK, Server Key operations are on `createLongplayServer` and Customer Token operations on the browser `createLongplay`. Most methods share the operation name, except: `bindPushInstallation` → `push.sync`, `readPushInstallation` → `push.read`, `updatePushAddress` → `push.sync`, `readMessagingPreference` → `messaging.preference`, `setMessagingPreference` → `messaging.setPreference`, `createCustomer` → `getOrCreateCustomer`, `createSession` → `createCustomerSession`, `refreshSession` → `session.refresh`, `revokeSessions` → `revokeCustomerSessions`, `grantOffer` → `claimCoupon`, `getFeatures` → `features`, `evaluateFeatures` → `features`, `trackEvents` → `track` / `flush`.

<a id="messaging"></a>

## Customer messaging and installations

- [Send email, SMS, voice or push](https://www.longplayai.com/docs/api/send-message.md) (`sendMessage` · `send_message` · `SendMessage`): Send email, SMS, voice or push to a Customer UUID using a verified merchant connection and explicit channel consent. Reuse requestId for retries.
- [Read message delivery status](https://www.longplayai.com/docs/api/read-message.md) (`readMessage` · `read_message` · `ReadMessage`): Read dispatch status and verified provider receipts. Acceptance does not prove delivery.
- [Bind a push installation to a customer](https://www.longplayai.com/docs/api/bind-push-installation.md) (`bindPushInstallation` · `push.sync`): Bind a proven installation to the verified Customer.
- [Read push installation status](https://www.longplayai.com/docs/api/read-push-installation.md) (`readPushInstallation` · `push.read`): Read the current proven installation state.
- [Update a push address and OS permission](https://www.longplayai.com/docs/api/update-push-address.md) (`updatePushAddress` · `push.sync`): Update the encrypted provider address and OS permission independently of marketing consent.
- [Read customer messaging consent](https://www.longplayai.com/docs/api/read-messaging-preference.md) (`readMessagingPreference` · `messaging.preference`): Read the current Customer consent and revision for one channel.
- [Update customer messaging consent](https://www.longplayai.com/docs/api/set-messaging-preference.md) (`setMessagingPreference` · `messaging.setPreference`): Update the current Customer channel consent with requestId and expectedRevision.

<a id="identity"></a>

## Customers, Guests and Sessions

- [Find or create a customer](https://www.longplayai.com/docs/api/create-customer.md) (`createCustomer` · `getOrCreateCustomer` · `get_or_create_customer` · `GetOrCreateCustomer`): Find or create a Customer by externalUserId or email; an existing profile is never overwritten.
- [Read a customer profile](https://www.longplayai.com/docs/api/get-customer.md) (`getCustomer` · `get_customer` · `GetCustomer`): Read a Customer by Customer UUID or externalUserId.
- [Search and filter customers](https://www.longplayai.com/docs/api/list-customers.md) (`listCustomers` · `list_customers` · `ListCustomers`): Filter and paginate Customers by search, tag, Product, status and creation time.
- [Update a customer profile and tags](https://www.longplayai.com/docs/api/update-customer.md) (`updateCustomer` · `update_customer` · `UpdateCustomer`): Partially update profile, attributes and tags under a retained requestId; replays return the original result.
- [Issue a customer session token](https://www.longplayai.com/docs/api/create-session.md) (`createSession` · `createCustomerSession` · `create_session` · `CreateSession`): Issue a Customer Token for a browser or app after your backend authenticates the user.
- [Refresh customer session credentials](https://www.longplayai.com/docs/api/refresh-session.md) (`refreshSession` · `session.refresh`): Rotate access and refresh credentials using the same session's Refresh Token.
- [Revoke customer sessions](https://www.longplayai.com/docs/api/revoke-sessions.md) (`revokeSessions` · `revokeCustomerSessions` · `revoke_sessions` · `RevokeSessions`): Revoke one Session or all Sessions of a Customer.
- [Create or resume a guest](https://www.longplayai.com/docs/api/create-guest-customer.md) (`createGuestCustomer` · `create_guest_customer` · `CreateGuestCustomer`): Create or resume a Guest from a guestToken generated and retained by your backend.
- [Resume a guest session](https://www.longplayai.com/docs/api/resume-guest-session.md) (`resumeGuestSession` · `resume_guest_session` · `ResumeGuestSession`): Issue a Customer Token for a verified Guest.
- [Claim a guest identity after login](https://www.longplayai.com/docs/api/claim-guest-customer.md) (`claimGuestCustomer` · `claim_guest_customer` · `ClaimGuestCustomer`): Bind a Guest to an externalUserId after login; an existing Customer switches identity without merging history.

<a id="access"></a>

## Entitlements and product presentation

- [Check Feature access](https://www.longplayai.com/docs/api/check-entitlement.md) (`checkEntitlement` · `check_entitlement` · `CheckEntitlement`): Check whether a Feature requirement is met; observes access without consuming usage.
- [Load an Offering and its Product availability](https://www.longplayai.com/docs/api/resolve-offering.md) (`resolveOffering` · `resolve_offering` · `ResolveOffering`): Resolve a published Offering Version, its candidate Products and availability.
- [Load a Paywall and its Offering](https://www.longplayai.com/docs/api/resolve-paywall.md) (`resolvePaywall` · `resolve_paywall` · `ResolvePaywall`): Resolve a standalone Paywall, its pinned Offering Version and presentation.
- [Read memberships, purchases and balances](https://www.longplayai.com/docs/api/read-holdings.md) (`readHoldings` · `read_holdings` · `ReadHoldings`): Read a Customer or Entity's memberships, purchases and balances.

<a id="credits"></a>

## Balances, usage and ledger

- [Read a balance source](https://www.longplayai.com/docs/api/read-balance-source.md) (`readBalanceSource` · `read_balance_source` · `ReadBalanceSource`): Read one balance source with its revision and state.
- [Adjust a balance source](https://www.longplayai.com/docs/api/adjust-balance.md) (`adjustBalance` · `adjust_balance` · `AdjustBalance`): Add, subtract, set or edit a balance source guarded by its expected available amount.
- [Read current-period usage](https://www.longplayai.com/docs/api/read-usage.md) (`readUsage` · `read_usage` · `ReadUsage`): Read usage of a Feature, optionally for an Entity, in its current period.
- [Set Feature usage](https://www.longplayai.com/docs/api/set-usage.md) (`setUsage` · `set_usage` · `SetUsage`): Set usage with management permission; ordinary consumption uses trackUsage.
- [Create, adjust or revoke balance grants](https://www.longplayai.com/docs/api/manage-balance-grant.md) (`manageBalanceGrant` · `manage_balance_grant` · `ManageBalanceGrant`): Create, update, adjust or revoke balance grants, including expiry, reset and rollover.
- [List customer balance grants](https://www.longplayai.com/docs/api/list-balance-grants.md) (`listBalanceGrants` · `list_balance_grants` · `ListBalanceGrants`): Page through a Customer's balance grants.
- [Create, update or archive a usage Entity](https://www.longplayai.com/docs/api/manage-usage-entity.md) (`manageUsageEntity` · `manage_usage_entity` · `ManageUsageEntity`): Upsert or archive an Entity owned by the Customer, such as a workspace or device.
- [Read usage analytics](https://www.longplayai.com/docs/api/read-usage-analytics.md) (`readUsageAnalytics` · `read_usage_analytics` · `ReadUsageAnalytics`): Read scoped usage aggregates.
- [Read credit analytics](https://www.longplayai.com/docs/api/read-credit-analytics.md) (`readCreditAnalytics` · `read_credit_analytics` · `ReadCreditAnalytics`): Read credit analytics derived from balance and financial records.
- [Submit a batch of usage](https://www.longplayai.com/docs/api/submit-usage-batch.md) (`submitUsageBatch` · `submit_usage_batch` · `SubmitUsageBatch`): Accept a batch of usage under a requestId (HTTP 202); each item keeps its consumption identity.
- [Read usage batch results](https://www.longplayai.com/docs/api/read-usage-batch.md) (`readUsageBatch` · `read_usage_batch` · `ReadUsageBatch`): Page through the per-item results of a usage batch.
- [Read a customer ledger](https://www.longplayai.com/docs/api/read-ledger.md) (`readLedger` · `read_ledger` · `ReadLedger`): Read a page of the Customer ledger with its business references.
- [Read a credit statement](https://www.longplayai.com/docs/api/read-credit-statement.md) (`readCreditStatement` · `read_credit_statement` · `ReadCreditStatement`): Read a consistent credit statement for a time range and snapshot.
- [Quote balance consumption](https://www.longplayai.com/docs/api/quote-balance.md) (`quoteBalance` · `quote_balance` · `QuoteBalance`): Quote a consumption without consuming, reserving or charging.
- [Report Feature or event usage](https://www.longplayai.com/docs/api/track-usage.md) (`trackUsage` · `track_usage` · `TrackUsage`): Report usage by event name or Feature and receive per-item receipts.
- [Manage balance consumption and reservations](https://www.longplayai.com/docs/api/mutate-balance.md) (`mutateBalance` · `mutate_balance` · `MutateBalance`): Consume, reserve, confirm, refund or release balance; refunds also need `credits:manage`. Use quoteBalance for quotes.

<a id="seats"></a>

## Seats

- [Read seat pools and assignments](https://www.longplayai.com/docs/api/read-seats.md) (`readSeats` · `read_seats` · `ReadSeats`): Read a Customer's seat pools and assignments.
- [Assign or release a seat](https://www.longplayai.com/docs/api/manage-seat.md) (`manageSeat` · `manage_seat` · `ManageSeat`): Assign a seat to a member Customer or Entity, or release it.

<a id="commerce"></a>

## Subscriptions and payments

- [Start payment method setup](https://www.longplayai.com/docs/api/setup-payment.md) (`setupPayment` · `setup_payment` · `SetupPayment`): Start collecting a payment method; it neither charges nor invoices.
- [Read payment method setup results](https://www.longplayai.com/docs/api/read-payment-setup.md) (`readPaymentSetup` · `read_payment_setup` · `ReadPaymentSetup`): Read the result of a payment-method setup.
- [Verify subscription status and ownership](https://www.longplayai.com/docs/api/verify-subscriptions.md) (`verifySubscriptions` · `verify_subscriptions` · `VerifySubscriptions`): Verify a Customer's subscription status and ownership without charging.
- [Preview a purchase quote](https://www.longplayai.com/docs/api/preview-attach.md) (`previewAttach` · `preview_attach` · `PreviewAttach`): Create a fixed quote and operationId for the chosen Products, Provider and currency; no charge.
- [Confirm or cancel a purchase](https://www.longplayai.com/docs/api/attach.md) (`attach` · `Attach`): Confirm or cancel a quoted purchase; the transaction and signed callbacks decide the result.
- [Read purchase operation results](https://www.longplayai.com/docs/api/read-subscription-operation.md) (`readSubscriptionOperation` · `read_subscription_operation` · `ReadSubscriptionOperation`): Read a purchase operation; use it to recover an unknown outcome.
- [Preview a subscription change quote](https://www.longplayai.com/docs/api/preview-update.md) (`previewUpdate` · `preview_update` · `PreviewUpdate`): Quote an upgrade, downgrade or cancellation effective immediately, at renewal or through the store.
- [Confirm or cancel a subscription change](https://www.longplayai.com/docs/api/update.md) (`update` · `Update`): Confirm or cancel a quoted subscription change.
- [Read subscription change results](https://www.longplayai.com/docs/api/read-subscription-update.md) (`readSubscriptionUpdate` · `read_subscription_update` · `ReadSubscriptionUpdate`): Read a subscription-change operation and its recovery state.
- [Search and filter subscriptions](https://www.longplayai.com/docs/api/list-subscriptions.md) (`listSubscriptions` · `list_subscriptions` · `ListSubscriptions`): Page through subscriptions filtered by Customer, Entity, Product, Provider and status.
- [List purchase records](https://www.longplayai.com/docs/api/list-purchases.md) (`listPurchases` · `list_purchases` · `ListPurchases`): Page through purchases and their states.
- [List subscription conflicts and next steps](https://www.longplayai.com/docs/api/list-subscription-conflicts.md) (`listSubscriptionConflicts` · `list_subscription_conflicts` · `ListSubscriptionConflicts`): List subscription conflicts and supported next steps without changing a subscription.
- [Retry a conflicted subscription operation](https://www.longplayai.com/docs/api/retry-subscription-conflict.md) (`retrySubscriptionConflict` · `retry_subscription_conflict` · `RetrySubscriptionConflict`): Retry the conflicted subscription operation with its original orderId.
- [Start, extend or end a subscription trial](https://www.longplayai.com/docs/api/manage-subscription-trial.md) (`manageSubscriptionTrial` · `manage_subscription_trial` · `ManageSubscriptionTrial`): Start, extend or end a trial.
- [Read subscription trial operation results](https://www.longplayai.com/docs/api/read-subscription-trial.md) (`readSubscriptionTrial` · `read_subscription_trial` · `ReadSubscriptionTrial`): Read a recorded trial operation.
- [Preview a subscription batch quote](https://www.longplayai.com/docs/api/preview-subscription-batch.md) (`previewSubscriptionBatch` · `preview_subscription_batch` · `PreviewSubscriptionBatch`): Batch subscription quote.
- [Confirm a subscription batch](https://www.longplayai.com/docs/api/confirm-subscription-batch.md) (`confirmSubscriptionBatch` · `confirm_subscription_batch` · `ConfirmSubscriptionBatch`): Confirm a subscription batch.
- [Read subscription batch results](https://www.longplayai.com/docs/api/read-subscription-batch.md) (`readSubscriptionBatch` · `read_subscription_batch` · `ReadSubscriptionBatch`): Read a subscription batch.
- [Abandon a subscription batch](https://www.longplayai.com/docs/api/abandon-subscription-batch.md) (`abandonSubscriptionBatch` · `abandon_subscription_batch` · `AbandonSubscriptionBatch`): Abandon a subscription batch.
- [Record merchant business events](https://www.longplayai.com/docs/api/record-merchant-event.md) (`recordMerchantEvent` · `record_merchant_event` · `RecordMerchantEvent`): Record merchant-reported billing, coupon use, fulfillment, benefit, authorization, usage and balance results through one entry, idempotent by eventId. Non-financial events create no invoices, revenue or spendable Longplay balance and don't change platform usage.

<a id="invoices"></a>

## Invoices, refunds and billing

- [List available invoice templates](https://www.longplayai.com/docs/api/list-invoice-templates.md) (`listInvoiceTemplates` · `list_invoice_templates` · `ListInvoiceTemplates`): Read the invoice templates of this environment.
- [Preview invoice amounts and line items](https://www.longplayai.com/docs/api/preview-invoice.md) (`previewInvoice` · `preview_invoice` · `PreviewInvoice`): Preview invoice amounts and lines without creating an invoice.
- [Submit an invoice creation task](https://www.longplayai.com/docs/api/create-invoice.md) (`createInvoice` · `create_invoice` · `CreateInvoice`): Accept an invoice task under a requestId and return its operation.
- [Manage the invoice lifecycle](https://www.longplayai.com/docs/api/manage-invoice.md) (`manageInvoice` · `manage_invoice` · `ManageInvoice`): Create, finalize, send, pay, void or reissue an invoice.
- [Read invoice operation results](https://www.longplayai.com/docs/api/read-invoice-operation.md) (`readInvoiceOperation` · `read_invoice_operation` · `ReadInvoiceOperation`): Read an invoice operation by taskId.
- [List customer invoices](https://www.longplayai.com/docs/api/list-invoices.md) (`listInvoices` · `list_invoices` · `ListInvoices`): Page through a Customer's invoices.
- [Read an invoice and its line items](https://www.longplayai.com/docs/api/get-invoice.md) (`getInvoice` · `get_invoice` · `GetInvoice`): Read one invoice with its lines.
- [Preview a refund and its access changes](https://www.longplayai.com/docs/api/preview-refund.md) (`previewRefund` · `preview_refund` · `PreviewRefund`): Quote a full or partial refund and its entitlement action; no refund is made.
- [Confirm a quoted refund](https://www.longplayai.com/docs/api/refund.md) (`refund` · `Refund`): Confirm a quoted refund; replays never refund twice.
- [Read refund operation results](https://www.longplayai.com/docs/api/read-refund.md) (`readRefund` · `read_refund` · `ReadRefund`): Read the result of a refund operation.
- [Read usage billing and auto top-up controls](https://www.longplayai.com/docs/api/read-billing-controls.md) (`readBillingControls`): A Customer reads their own usage-billing and auto top-up controls.
- [Prepare a billing authorization](https://www.longplayai.com/docs/api/prepare-billing-authorization.md) (`prepareBillingAuthorization`): Prepare auto top-up billing authorization terms for the Customer's explicit consent.
- [Confirm a billing authorization](https://www.longplayai.com/docs/api/confirm-billing-authorization.md) (`confirmBillingAuthorization`): Record the Customer's explicit acceptance of an authorization.
- [Choose offers for membership billing](https://www.longplayai.com/docs/api/set-billing-coupons.md) (`setBillingCoupons`): Choose which claimed offers apply to a membership.
- [Revoke a billing authorization](https://www.longplayai.com/docs/api/revoke-billing-authorization.md) (`revokeBillingAuthorization`): Revoke an accepted billing authorization.
- [List the current customer’s billing invoices](https://www.longplayai.com/docs/api/list-billing-invoices.md) (`listBillingInvoices`): A Customer pages through their own billing invoices.
- [Set usage limits and overage rules](https://www.longplayai.com/docs/api/manage-billing-limits.md) (`manageBillingLimits` · `manage_billing_limits` · `ManageBillingLimits`): Set a Customer's usage limits, alert thresholds and overage rules from your backend.
- [Read billing invoice details](https://www.longplayai.com/docs/api/read-billing-invoice.md) (`readBillingInvoice` · `read_billing_invoice` · `ReadBillingInvoice`): Page through the detail of one billing invoice.
- [Prepare a billing adjustment](https://www.longplayai.com/docs/api/prepare-billing-adjustment.md) (`prepareBillingAdjustment` · `prepare_billing_adjustment` · `PrepareBillingAdjustment`): Prepare a separate supplemental adjustment from the original Invoice, a positive minor-unit amount and a reason under a retained requestId. It does not rewrite usage or collect payment; the Customer confirms separately.
- [Confirm a billing adjustment](https://www.longplayai.com/docs/api/confirm-billing-adjustment.md) (`confirmBillingAdjustment`): Confirm a billing adjustment.

<a id="offers"></a>

## Coupons, rewards and referrals

- [Redeem a coupon code for an offer](https://www.longplayai.com/docs/api/redeem-coupon.md) (`redeemCoupon`): A Customer redeems a coupon code into an offer.
- [List offers available to a customer](https://www.longplayai.com/docs/api/list-offers.md) (`listOffers`): List offers available to the current Customer.
- [Grant or claim an offer](https://www.longplayai.com/docs/api/grant-offer.md) (`grantOffer` · `claimCoupon` · `grant_offer` · `GrantOffer`): Grant a coupon from your backend (offers:grant) or let a Customer self-claim (offers:resolve).
- [Request a model benefit](https://www.longplayai.com/docs/api/grant-model-benefit.md) (`grantModelBenefit` · `grant_model_benefit` · `GrantModelBenefit`): Request a merchant-owned model benefit for a customer; Longplay asks your merchant integration to grant it. Reuse the same requestId to recover the original operation (offers:grant).
- [Read model benefit grant results](https://www.longplayai.com/docs/api/read-model-benefit.md) (`readModelBenefit` · `read_model_benefit` · `ReadModelBenefit`): Read the status, receipt and rejection of the original model benefit operation (offers:grant).
- [Redeem a reward or referral code](https://www.longplayai.com/docs/api/redeem-reward.md) (`redeemReward`): A Customer redeems a reward or referral code.
- [Create a customer referral code](https://www.longplayai.com/docs/api/create-referral-code.md) (`createReferralCode`): Create the Customer's referral code in a referral program.
- [Claim a reward Product](https://www.longplayai.com/docs/api/claim-reward-product.md) (`claimRewardProduct`): Claim a reward Product.

<a id="features"></a>

## Feature flags, evaluation and events

- [Download feature flag configuration](https://www.longplayai.com/docs/api/get-features.md) (`getFeatures` · `features` · `get_features` · `GetFeatures`): Download the feature flag configuration authorized for this identity.
- [Evaluate feature flags on the server](https://www.longplayai.com/docs/api/evaluate-features.md) (`evaluateFeatures` · `features` · `evaluate_features` · `EvaluateFeatures`): Evaluate feature flags on the server and return results with their validity.
- [Track behavior and experiment events](https://www.longplayai.com/docs/api/track-events.md) (`trackEvents` · `track` · `flush` · `track_events` · `TrackEvents`): Report behavior, experiment exposure and feature-flag usage events.

<a id="native"></a>

## Native purchases

- [Verify or restore an in-app purchase](https://www.longplayai.com/docs/api/restore-native-purchase.md) (`restoreNativePurchase` · `restore_native_purchase` · `RestoreNativePurchase`): Submit an Apple or Google purchase proof to verify and deliver or restore access.

<a id="ai"></a>

## AI pricing

- [Read AI usage pricing](https://www.longplayai.com/docs/api/read-ai-pricing.md) (`readAiPricing` · `read_ai_pricing` · `ReadAiPricing`): Read the pricing and model markups of an AI usage Feature.

<a id="integration"></a>

## CLI and CI

- [Load a page, popup or banner](https://www.longplayai.com/docs/api/resolve-content.md) (`resolveContent` · `resolve_content` · `ResolveContent`): Resolve standalone Page, Popup or Banner content by resource or fixed version; the host explicitly mounts it and handles actions.
- [Read the feature flag code-reference scan scope](https://www.longplayai.com/docs/api/get-code-reference-config.md) (`getCodeReferenceConfig` · `get_code_reference_config` · `GetCodeReferenceConfig`): The CLI or CI reads the feature flag code-reference scan scope for a repository and branch.
- [Submit a feature flag code-reference scan report](https://www.longplayai.com/docs/api/submit-code-references.md) (`submitCodeReferences` · `submit_code_references` · `SubmitCodeReferences`): The CLI or CI uploads a code-reference scan report.

<a id="funnel-commands"></a>

## Funnel commands

Commands go to `POST /api/v1/funnels` and are selected by the JSON `operation` field; process commands go to `POST /api/v1/funnel-processes` with `contract: "funnel-process/1"`. Starting a Version that has a Paywall requires `parameters.commerce` (`provider`, `currency`); otherwise the request returns 400 and no Run is created. Server Key starts and server commands need `funnels:run` and `sessions:create`; creating a Customer by externalUserId also needs `customers:write`. 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`.

**Funnel commands**

| operation | Endpoint | Credential | Purpose |
| --- | --- | --- | --- |
| `start` | `/api/v1/funnels` | Server Key or Customer Token | Start a Run at a fixed Funnel Version and return its Run Token. |
| `get` | `/api/v1/funnels` | Run Token + original identity proof | Read the Run and its current instruction. |
| `resume` | `/api/v1/funnels` | Run Token + original identity proof | Resume the original Run, keeping accepted work and waits. |
| `submit` | `/api/v1/funnels` | Run Token + original identity proof | Submit input for the current screen. |
| `back` | `/api/v1/funnels` | Run Token + original identity proof | Go back where the position allows it. |
| `shown` | `/api/v1/funnels` | Run Token + original identity proof | Record that a screen was actually displayed. |
| `close` | `/api/v1/funnels` | Run Token + original identity proof | Close the interaction under the Run's stop rules. |
| `commit_segment` | `/api/v1/funnels` | Run Token + original identity proof | Local advance signal: names the parked position, policy revision and configuration generation; the server calculates and accepts the pure path. |
| `review` | `/api/v1/funnels` | Run Token + original identity proof | Read a historical presentation or receipt without resuming. |
| `decide` | `/api/v1/funnels` | Server Key | Request a backend decision for a Customer and attributes. |
| `read_decision` | `/api/v1/funnels` | Server Key | Read the original decision by decisionId. |
| `evaluate_decision` | `/api/v1/funnels` | Server Key | Report a pure evaluation for the original decision. |
| `feature_config` | `/api/v1/funnels` | Server Key | Read Feature configuration authorized for download. |
| `commit_decision_segment` | `/api/v1/funnels` | Server Key | Commit the original decision's Local steps. |
| `segment_configuration` | `/api/v1/funnels` | Server Key | Read evaluation segments of a published Version. |
| `configuration` | `/api/v1/funnels` | Server Key | Read Funnel configuration to check Version and evaluation mode. |
| `local_configuration` | `/api/v1/funnels` | Server Key | Read the configuration used by the Local SDK. |
| `report_used` | `/api/v1/funnels` | Server Key | Record caller-reported adoption, deduplicated by eventId. |
| `campaign_decide` | `/api/v1/funnels` | Server Key | Campaign decision. |
| `campaign_start` | `/api/v1/funnels` | Server Key | Start a Campaign under a cooldown, or return suppression. |
| `renew_run` | `/api/v1/funnels` | Server Key | Rotate a Run Token. |
| `signal` | `/api/v1/funnels` | Server Key | Submit an external event to a waiting Run. |
| `read_results` | `/api/v1/funnels` | Server Key | Read a Run's accepted results. |
| `resolve_screen` | `/api/v1/funnels` | Server Key or identified Customer Token | Resolve resource state and coupon summaries for a Local screen. |
| `entry_start` | `/api/v1/funnels` | Customer Token | Start a published IAM entry for the current Customer. The server selects the Funnel and parameters, rejects client overrides and accepts no commerce. A frequency or in-progress refusal returns retryAt. |
| `page_experiments` | `/api/v1/funnels` | Run Token + original identity proof | Read page experiment assignments from the Run's completed Splits (at most 20) and idempotently record displayed receipts. The server never rerolls. |
| `describe` | `/api/v1/funnel-processes` | Server Key | Read process capability and the issuing Key identity without creating a Guest or Run. |
| `start` | `/api/v1/funnel-processes` | The process's original Server Key | Atomically create or reuse the Guest and start a process; a signed-in source creates an authenticated binding. Persist source and requestId before dispatch; an exact retry returns the same Run. |
| `entry_start` | `/api/v1/funnel-processes` | The process's original Server Key | Start a published process IAM entry under normal admission; a refusal rolls back Guest creation and the start together. |
| `bind_customer` | `/api/v1/funnel-processes` | Original Server Key + Run Token + Guest proof | Bind the same Run to the verified merchant user ID without restarting the Run or merging Customer assets. |
| `binding_status` | `/api/v1/funnel-processes` | Original Server Key + Run Token (Guest proof before acceptance) | After a lost reply, read whether the binding committed: bound, not_accepted or conflict. It never claims another identity. |
| `get` | `/api/v1/funnel-processes` | Run Token + current Customer Token | Read the Run within the same process and authentication boundary. |
| `review` | `/api/v1/funnel-processes` | Run Token + current Customer Token | Read original presentations and command facts under the current identity without replaying accepted Guest steps. |
| `command` | `/api/v1/funnel-processes` | Run Token + current Customer Token | Wrap resume, submit, back, shown, close or commit_segment with the expected binding. A changed identity returns IDENTITY_CONTEXT_CHANGED before acceptance. |
| `page_experiments` | `/api/v1/funnel-processes` | Run Token + current Customer Token | Deliver assignments from accepted Split receipts; login neither rerolls nor duplicates exposures. |

- [Funnel decision HTTP](https://www.longplayai.com/docs/api/funnel-decisions.md)

<a id="public"></a>

## Public configuration and website experiments

**Endpoints outside the SDK operation set (no Server Key; push and messaging endpoints require the device credential, recovery proof, provider signature or unsubscribe token described)**

| Method | Path | Purpose |
| --- | --- | --- |
| GET | `/api/v1/configuration/{environmentId}` | Published SDK configuration manifest; supports ETag/304. |
| GET | `/api/v1/configuration/{environmentId}/artifacts/{digest}` | A public configuration artifact referenced by the manifest, verified by SHA-256. |
| GET | `/api/v1/page-experiments/{environmentId}` | URL redirect experiment configuration. |
| POST | `/api/v1/page-experiments/{environmentId}/events` | URL redirect experiment exposures and events; Origin is checked. |
| GET | `/api/v1/visual-experiments/{environmentId}` | Visual experiment configuration. |
| POST | `/api/v1/visual-experiments/{environmentId}/events` | Visual experiment exposures and events; Origin is checked. |
| POST | `/api/v1/push/installations/detach` | Detach this device using its installation credential. |
| POST | `/api/v1/push/installations/recovery/request` | Request installation credential recovery with device proof. |
| POST | `/api/v1/push/installations/recovery/confirm` | Verify recovery proof and confirm the installation credential. |
| POST | `/api/v1/messaging/events/{connectionId}/{attemptId?}` | Receive and verify messaging provider receipts. |
| GET, POST | `/api/v1/messaging/unsubscribe` | Read or confirm channel consent through a verified unsubscribe link. |
| GET | `/api/v1/funnel-entries/{environmentId}` | Published IAM Funnel entry configuration; requires one iam query value, and a supplied Origin must match exactly. Responses are no-store. |
