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

  • 9 February 2023
  • 1 reply

Badge +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

Userlevel 6
Badge +8

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.