Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Adapty Access Levels API

Grant and revoke access levels (entitlements) directly.

Adapty Access Levels API is one of 6 APIs that Adapty publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Access Levels. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 2 operations across 2 paths, and defines 7 schemas. It is described by OpenAPI 3.0.3, at version 2.0.

Requests are made against a single base URL, https://api.adapty.io/api/v2/server-side-api.

2 operations 2 paths 7 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0
Base URL
https://api.adapty.io/api/v2/server-side-api
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Adapty Access Levels API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Secret API key passed as Authorization: Api-Key . Find your secret key in the Adapty dashboard under App Settings API keys.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Access Levels 2

Grant and revoke access levels (entitlements) directly.

POST
/purchase/profile/grant-access-level/
Grant access level
grantAccessLevel 2 params body → 200
POST
/purchase/profile/revoke-access-level/
Revoke access level
revokeAccessLevel 2 params body → 200

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are AccessLevel (8 properties), Profile (7 properties), Subscription (7 properties), NonSubscription (6 properties). Each schema is shown below with its type and property counts.

Subscription
object
7 properties
GrantAccessLevelRequest
object
4 properties 1 required
AccessLevel
object
8 properties
ProfileResponse
object
1 property
Profile
object
7 properties
RevokeAccessLevelRequest
object
1 property 1 required
NonSubscription
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

adapty-access-levels-api-openapi.yml Raw ↑

Other APIs Adapty publishes across the network.

Adapty Webhooks
Adapty Integrations API
Adapty Paywalls API
Adapty Profiles API
Adapty Purchases API