GET /api/v2/server-side-api/paywalls/{paywall_id}/

Paywall getir

Uygulamanızdaki belirli bir paywall'ı getirir.

Path parameters

paywall_idstring · uuidrequired

Getirilecek paywall'ın benzersiz tanımlayıcısı

Responses

Paywall başarıyla getirildi

Schema
titlestringrequired

Adapty Kontrol Paneli'nde tanımlandığı şekliyle paywall'ın adı

paywall_idstringrequired

Paywall'ın benzersiz tanımlayıcısı

use_paywall_builderbooleanrequired

Paywall'ın Paywall Builder kullanıp kullanmadığı

use_paywall_builder_legacybooleanrequired

Paywall'ın eski Paywall Builder kullanıp kullanmadığı

updated_atstringrequired

Paywall'ın en son güncellendiği zaman damgası

created_atstringrequired

Paywall'ın oluşturulduğu zaman damgası

statestringrequired

Paywall'ın mevcut durumu

One of: "draft", "live", "inactive", "archived"

is_deletedbooleanrequired

Paywall'ın silinmiş olarak işaretlenip işaretlenmediği

web_purchase_urlstring

Varsa web satın alımları için URL

productsarray of objectrequired

Ürün bilgilerini içeren Ürün nesneleri dizisi

product_idstringrequired

Ürünün benzersiz tanımlayıcısı

titlestringrequired

Ürünün başlığı

product_setstringrequired

Ürün seti kategorisi

One of: "weekly", "monthly", "trimonthly", "semiannual", "annual", "lifetime", "uncategorised", "nonsubscriptions", "two_months", "consumable"

offerobjectrequired
product_offer_idstringrequired

Ürün teklifinin benzersiz tanımlayıcısı

titlestringrequired

Teklifin başlığı

remote_configsarray of object

Dil ve veri içeren RemoteConfig nesneleri dizisi

localestringrequired

Remote config için dil ayarı

datastringrequired

Remote config verilerini içeren JSON dizesi

main_screenshotobject

image_id ve url içeren ana ekran görüntüsü nesnesi

image_idintegerrequired

Görüntünün benzersiz tanımlayıcısı

urlstringrequired

Görüntünün URL'si

Example
{
  "title": "Premium Subscription",
  "paywall_id": "fd891d4f-5906-45b9-97c1-13cc3dc665df",
  "use_paywall_builder": true,
  "use_paywall_builder_legacy": false,
  "updated_at": "2025-07-30T11:13:58.798Z",
  "created_at": "2025-07-30T11:13:58.798Z",
  "state": "live",
  "is_deleted": false,
  "web_purchase_url": "https://example.com/purchase",
  "products": [
    {
      "product_id": "b95e9e51-a056-4eb6-9cf7-b75d139e7c3c",
      "title": "Premium Monthly",
      "product_set": "uncategorised",
      "offer": {
        "product_offer_id": "e31a4296-f250-4faf-ac80-3cc93c2da8f5",
        "title": "Free Trial"
      }
    }
  ],
  "remote_configs": [
    {
      "locale": "en",
      "data": "{\"title\":\"Premium Features\",\"subtitle\":\"Unlock all premium content\"}"
    }
  ],
  "main_screenshot": {
    "image_id": 123456,
    "url": "https://public-media.adapty.io/public/screenshot.jpg"
  }
}

Yetkisiz

Schema
errorsarray of objectrequired
sourcestring

Hatanın kaynağı

errorsarray of string

Hata mesajları dizisi

error_codestringrequired

Kısa hata adı

status_codeintegerrequired

HTTP durum kodu

Example
{
  "errors": [
    "Invalid API key"
  ],
  "error_code": "unauthorized",
  "status_code": 401
}

Paywall bulunamadı

Schema
errorsarray of objectrequired
sourcestring

Hatanın kaynağı

errorsarray of string

Hata mesajları dizisi

error_codestringrequired

Kısa hata adı

status_codeintegerrequired

HTTP durum kodu

Example
{
  "errors": [
    {
      "source": null,
      "errors": [
        "Paywall not found"
      ]
    }
  ],
  "error_code": "paywall_does_not_exist",
  "status_code": 404
}

Sunucu içi hata

Schema
errorsarray of objectrequired
sourcestring

Hatanın kaynağı

errorsarray of string

Hata mesajları dizisi

error_codestringrequired

Kısa hata adı

status_codeintegerrequired

HTTP durum kodu