Sync web purchases with your iOS and Android apps
Send each web purchase to Adapty with one API call. The buyer gets access in your app, and the revenue shows in analytics.
30,000+ apps use Adapty to grow subscription revenue

What your backend can do with Adapty
Sell on the web, unlock in the app
Record purchases from your checkout or another store, and give buyers access in your app.
Read one status for every store
App Store, Google Play and web purchases in one access level your server can read, always up to date.
Grant, extend or take away access
Give any user access for a promo or a support case, then extend it or end it early.
Work with user profiles, transactions and access levels
Authorize with your app’s secret key. Pass the user ID from your app in adapty-customer-user-id, and requests work on that user’s profile.
Creates a user’s profile from your backend, with the details you already have.
curl -X POST "https://api.adapty.io/api/v2/server-side-api/profile/" \
-H "Authorization: Api-Key $ADAPTY_SECRET_KEY" \
-H "adapty-customer-user-id: user_8f21c4" \
-H "Content-Type: application/json" \
-d '{
"first_name": "Jane",
"email": "[email protected]"
}'Returns the user’s access levels, subscriptions and custom attributes. Access is active until expires_at.
curl "https://api.adapty.io/api/v2/server-side-api/profile/" \
-H "Authorization: Api-Key $ADAPTY_SECRET_KEY" \
-H "adapty-customer-user-id: user_8f21c4"Adds your own data to the profile as custom_attributes. Build segments on it to target paywalls and A/B tests.
curl -X PATCH "https://api.adapty.io/api/v2/server-side-api/profile/" \
-H "Authorization: Api-Key $ADAPTY_SECRET_KEY" \
-H "adapty-customer-user-id: user_8f21c4" \
-H "Content-Type: application/json" \
-d '{
"custom_attributes": [
{ "key": "words_learned", "value": 1240 }
]
}'Records a purchase from your checkout. The user gets access in the app, and the revenue shows in analytics and integrations.
curl -X POST "https://api.adapty.io/api/v2/server-side-api/purchase/set/transaction/" \
-H "Authorization: Api-Key $ADAPTY_SECRET_KEY" \
-H "adapty-customer-user-id: user_8f21c4" \
-H "Content-Type: application/json" \
-d '{
"purchase_type": "subscription",
"store": "stripe",
"store_product_id": "premium_yearly",
"store_transaction_id": "txn_10001",
"store_original_transaction_id": "txn_10001",
"price": { "country": "US", "currency": "USD", "value": 39.99 },
"purchased_at": "2026-12-03T10:30:00Z",
"originally_purchased_at": "2026-12-03T10:30:00Z",
"expires_at": "2027-12-03T10:30:00Z",
"renew_status": true
}'Gives access without a purchase, here for 7 days. Leave out expires_at to grant it for good.
curl -X POST "https://api.adapty.io/api/v2/server-side-api/purchase/profile/grant/access-level/" \
-H "Authorization: Api-Key $ADAPTY_SECRET_KEY" \
-H "adapty-customer-user-id: user_8f21c4" \
-H "Content-Type: application/json" \
-d '{
"access_level_id": "premium",
"expires_at": "2026-12-10T10:30:00Z"
}'Ends access now, or on a date you set with revoke_at. Use it to end a grant early.
curl -X POST "https://api.adapty.io/api/v2/server-side-api/purchase/profile/revoke/access-level/" \
-H "Authorization: Api-Key $ADAPTY_SECRET_KEY" \
-H "adapty-customer-user-id: user_8f21c4" \
-H "Content-Type: application/json" \
-d '{
"access_level_id": "premium"
}'Example requests with made-up IDs.
“The server-side API for subscribers is a game-changer, allowing us to check subscriber states and manage user attributes effortlessly.”

Let us handle your web-to-app funnels and web paywalls
Bring buyers from the web into your app
Build and launch web-to-app funnels with quizzes, payments and A/B tests in FunnelFox. Buyers open the app already subscribed.
Explore FunnelFox
Send buyers from your app to the web
Build and host web paywalls with Adapty. Where the stores allow it, send buyers to pay on the web, and their access syncs to the app automatically.
Read the web paywall docs
Enterprise-grade infrastructure
- subscription events / month
- 77M
- users served
- 4B
- subscribers / month
- 39M
- API calls / month
- 80B
Questions developers ask
Both. For web apps, call the Web API from the browser with your public key: it gets paywalls by placement, records paywall views and adds attribution data. Purchases go through the server-side API, and on mobile the Adapty SDKs run in your app.
Send the same user ID your app passes to the SDK in the adapty-customer-user-id header, or the Adapty profile ID in adapty-profile-id. Purchases from the web and the stores then land on one profile.
Not necessarily. The Stripe integration and the Paddle integration validate purchases and sync access on their own. If you’d rather keep your own Stripe setup, send its transactions with setTransaction.
Yes. You can get, list and update paywalls from your server, and the app picks up the change without a release.








