Skip to main content
Solved

Get paywall JSON using secret API key

  • January 26, 2026
  • 3 replies
  • 33 views

Forum|alt.badge.img+1

I want to backup configuration as code. With help of rest APIs, I've got JSONs for products, offerings, etc. But I failed doing so for paywalls.

 

https://www.revenuecat.com/docs/api-v2#tag/Paywall/operation/create-paywall

It mentions the endpoint

POST https://api.revenuecat.com/v2/projects/{project_id}/paywalls

 

But I find no way to get a paywall. Am I missing something?

Best answer by olpa

Thanks ​@joan-cardona! I’ve got the result from

GET https://api.revenuecat.com/v1/subscribers/{app_user_id}/offerings

3 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • January 28, 2026

Hi ​@olpa,

The paywall configuration comes in the `getOffering` call which is a public endpoint. From there, the SDK has all the information needed to render the paywall. 

 

Let me know if this helps!


Forum|alt.badge.img+1
  • Author
  • Helper
  • Answer
  • January 29, 2026

Thanks ​@joan-cardona! I’ve got the result from

GET https://api.revenuecat.com/v1/subscribers/{app_user_id}/offerings


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • February 4, 2026

Hi ​@olpa,

I’m glad it worked!

 

Best,