Skip to main content
Solved

Is there an API endpoint to set the authorization header used by RevenueCat for webhook integration?

  • 1 November 2021
  • 4 replies
  • 388 views

Forum|alt.badge.img+1
  • New Member
  • 1 reply

First: thanks for making this great product. I’m new to RevenueCat but so far loving it!

Intro: RevenueCat offers the possibility to register a webhook endpoint, that is called when an event takes place. There is the possibility to manually set an optional authorization header, that will be used by RevenueCat to authenticate when calling the webhook endpoint. 

Question: is it possible to set this authorization header by calling an API endpoint (instead of doing it manually in the configuration section ‘Integrations’ > ‘Webhooks’)? 

Best answer by ryan

Hey @Jan!

Not currently, but I’ll add this as an idea for an API overhaul that we have planned on the future roadmap!

Curious what the use-case is here? 

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

4 replies

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • November 1, 2021

Hey @Jan!

Not currently, but I’ll add this as an idea for an API overhaul that we have planned on the future roadmap!

Curious what the use-case is here? 


Forum|alt.badge.img+1
  • Author
  • New Member
  • 1 reply
  • November 1, 2021

Hi @ryan, thanks! 
Use case: as good practice I would like to rotate the key I store in RevenueCat from on a regular basis, say each week, month, etc. An API endpoint for setting such a key makes it possible to automate that rotation.


Forum|alt.badge.img

I am also interested in a functionality like this one. Is there any place (like a Github feature) were we can track the progress of this? Maybe vote so it is implemented faster?


Forum|alt.badge.img+1
  • New Member
  • 1 reply
  • September 4, 2023

Can I add authorization header as JWT token with expiry?


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