Access level

Control features available to the customers of your app across multiple platforms and without hardcoding products

Access levels allow you to control features available to the customers of your app without hardcoding product ids. Every time the user makes a purchase, Adapty unlocks access to the app for the specific period (subscriptions) or for a lifetime (lifetime purchases).

Access Level - Photo 1

When you create the app in Adapty Dashboard, we will automatically create an access level for you with an id premium. This is a default access level, you can't delete it. In most cases, you'll only need one access level. You can learn how to check the customer's specific access level in this article.

You can have multiple access levels per app. This is how you can use multiple access levels:

  • A newspaper app and sell subscriptions to different topics independently, you can create access levels "sports" and "science".
  • A fitness app with recorded video training, available after purchasing a regular subscription (using the default "premium" access level). But the customers can subscribe to the more expensive option, which gives access to live training with a coach. In this case, you can create a live_coach_access level.
  • A language learning app the access level for each of the available languages.

Creating access level

To create an access level you only need to enter its ID, which will be used in SDK.

Access Level - Photo 2

Assigning access level to a product

The access level is linked with a Product, so when a user makes a purchase, he's automatically given the linked access level. Adapty will automatically detect subscription duration, and it will be set to access level as an expiration date. If you create a lifetime product, and a customer purchases it, the access level won't have an expiration date and will be active forever.

Access Level - Photo 3

Giving access level to the customer in Adapty dashboard

You can manually set the access level for a specific customer in Adapty Dashboard. This is useful for support, eg. if you want to gift an extra week of premium usage for the user who wrote you an overwhelming review.

Access Level - Photo 4

Access Level - Photo 5

Choose which access level you want to grant and the expiration date or lifetime unlock.

Setting customer's access via API

You can also grant an access level to the customer from your server using Adapty API. This is useful if you have a bonus for invites or other product-related events. Read more about it in the API Specs section.