Skip to main content
Solved

Get or Create Subscriber

  • 1 February 2022
  • 1 reply
  • 102 views

Forum|alt.badge.img+1

Hi Team,

We have setup 3 apps in our RevenueCat project. Apple, Google and Stripe. If we need to call the "Get or Create Subscriber" REST API, which API key we need to use. The app specific public API keys or the internal API key. Also, if a user has a play store subscription and if we try to fetch the user details using the Apple app public API key or vice versa will it work. Or is it a good practice to do so. Need help on this query. Awaiting your revert on the same.
 

Best answer by cody

Hello @Swapnil Gaikwad!

If you are calling endpoints via your own server, we recommend using a secret key: https://docs.revenuecat.com/docs/authentication

If you’re configuring the SDK, you should always use the recommended platform key for the platform you are building on.

View original
Did this post help you find an answer to your question?

1 reply

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 487 replies
  • Answer
  • February 2, 2022

Hello @Swapnil Gaikwad!

If you are calling endpoints via your own server, we recommend using a secret key: https://docs.revenuecat.com/docs/authentication

If you’re configuring the SDK, you should always use the recommended platform key for the platform you are building on.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings