# Web API

Version: `1.0.0`

> The Adapty Web API allows you to integrate Adapty's subscription management platform 
> into your web applications. This API provides endpoints for retrieving paywalls, 
> recording paywall views, and adding attribution data.

## Servers

- `https://api.adapty.io` — Production server

## Authentication

### apikeyAuth

type: `apiKey` · in: `header` · header: `Authorization`

API requests must be authenticated by your public API key as the **Authorization** 
header with the value `Api-Key {your_public_api_key}`, for example, 
`Api-Key public_live_...`. Find this key in the Adapty Dashboard -> 
**App Settings** -> **General** tab -> **API keys** section.

## Operations

- **POST** `/api/v2/web-api/paywall/` — [Get paywall](https://adapty.io/docs/api-web/operations/getPaywall.md)
- **POST** `/api/v2/web-api/paywall/visit/` — [Record paywall view](https://adapty.io/docs/api-web/operations/recordPaywallView.md)
- **POST** `/api/v2/web-api/attribution/` — [Add custom attribution](https://adapty.io/docs/api-web/operations/addAttribution.md)
