Hi,
I’m getting an error when trying to obtain offerings for a specific platform using the v1 offerings endpoint if I use the secret API v1 key instead of using an app-specific API public key. I’m sending the X-Platform header properly as indicated in the docs.
Here’s the endpoint I’m using:
https://api.revenuecat.com/v1/subscribers/{app_user_id}/offerings
Error:
{
"result": {
"code": 7000,
"message": "Invalid Platform."
}
}
If I set the auth header to the app-specific API key it returns properly.
Is that the intended behavior? I’ve obtained the endpoint usage information from:
https://www.revenuecat.com/docs/api-v1#tag/offerings/operation/get-offerings
Thanks in advance!