Retain Headers Across API Requests in "Try It" Feature

Hi Team,

We are actively using the “Try It” feature in our Apidog website to test our APIs. However, one major inconvenience we and more importantly, our customers are facing is that the same headers (such as authentication tokens) have to be manually entered for every single API request, even when the APIs are part of the same project or session.

It would be really helpful if Apidog could retain the headers/session across multiple API requests within the same project or testing session, similar to how environments or global variables work in other tools.

We believe this improvement will significantly enhance the user experience for both API developers and customers.

Hi Hamza Nasir,

You can check how to use global parameters here:

Hi Hamza Nasir,

Thank you for your feedback! The global parameters mentioned earlier are one way to achieve this. However, since some APIs may not require shared headers, we recommend using “Variables” to share headers (e.g., tokens) instead. You can refer to this documentation for details: