Skip to main content
Question

How to create a sandbox api key?


Forum|alt.badge.img+5

I didn’t find how to create a sandbox only api key. Is it possible?

This post has been closed for comments

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • May 6, 2022

Hey @Patricia Wong!

RevenueCat uses the same API key for sandbox and production purchases - you’ll find your API keys in the `API Keys` tab in your project settings: https://docs.revenuecat.com/docs/authentication


Forum|alt.badge.img+5

Hi @cody , is there indication when this will be separated? And when separate webhooks for test/production will be supported?


Forum|alt.badge.img+2

For data security reasons this would be very important to keep production data out of the sandbox  API during development. We would like to give our devs a sandbox API key so they can test everything but guarantee they do not break the production data.

 

Maybe a different option is then to create a 2nd RC account? This makes it harder to guarantee that the different environments use the same offerings defintions.


Forum|alt.badge.img
  • New Member
  • January 18, 2023

I am also looking for this info. How do you set up a full sandbox env for dev purposes, including API access? 


Forum|alt.badge.img+4

I want to echo that having API access to sandbox data would is important for keeping dev and prod data separate. @cody I would like to know if there are any plans to access the sandbox data via the API.


  • New Member
  • October 13, 2024

Still no way to securely have a sandbox API key ?


sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • October 15, 2024

Hi @1500-marc,

Correct, the API keys that we have are used for both sandbox and production purchases. Can you explain a little more about how you would use a sandbox API key?


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