Skip to main content
Question

Which api key should i use for observer mode on server side?

  • February 9, 2023
  • 1 reply
  • 35 views

Forum|alt.badge.img+1

I’m now transferring my subscriptions to RevenueCat using Observer Mode on the server side and found out that for iOS users I should use the API key for ios and the opposite for Android.

Docs says that I shouldn’t use a private API key for my case.

Is there any universal API key?

1 reply

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 497 replies
  • February 15, 2023

Hey @Daniel Petrovaliev!

If you’re sending receipts to our API from your own server, you should use the API for the app configured in the dashboard to which the purchase should apply - if it’s an iOS app, you should use for iOS app’s API key and the same logic for other platforms.


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