Skip to main content

Hello! 
Here’s the api url: https://api.revenuecat.com/v2/projects/${PROJECT_ID}/customers/${CUSTOMER_ID}/subscriptions

Correctly Added header:
 

headers: {

'Authorization': `Bearer ${AUTHORIZATION_TOKEN}`,

'Content-Type': 'application/json'

}
Here’s the response:
{
    "items": ],
    "next_page": null,
    "object": "list",
    "url": "https://api.revenuecat.com/v2/projects/XXXXX/customers/$RCAnonymousID:0ee378058790XXXXXXXXXXXX/subscriptions"
}

Customer has Yearly ACTIVE Subscription in Production. Could you please help how to retrieve Subscription items?

Thanks!

Same here. In my case it’s a sandbox subscription.


This endpoint is publicly available only for RC Billing subscriptions, as stated in the docs. We also offer support for Apple, Google, and Stripe, but it’s currently in Beta. If you’d like to join the beta, you can request access here.  

 

UPDATE: API V2 Subscriptions and Purchases endpoints are no longer in a private beta (since September 2024), and it supports all stores.