Web API

v1.0.0
Download OpenAPI spec

Adapty Web API cho phép bạn tích hợp nền tảng quản lý gói đăng ký của Adapty vào các ứng dụng web của bạn. API này cung cấp các endpoint để lấy paywall, ghi lại lượt xem paywall và thêm dữ liệu attribution.

Servers

  • https://api.adapty.io — Máy chủ production

Authentication

Authorization

Type: apiKey · In: header

Các yêu cầu API phải được xác thực bằng public API key của bạn trong header Authorization với giá trị Api-Key {your_public_api_key}, ví dụ: Api-Key public_live_.... Tìm key này trong Adapty Dashboard -> App Settings -> tab General -> mục API keys.

curl --request GET \
  --url 'https://api.adapty.io/...' \
  --header 'Authorization: Api-Key YOUR_PUBLIC_API_KEY'

Operations