Hi, I’m new to Postman and I cannot figure out how to store authentication for a collection. Here’s the API: User Deletion
Right now, I’m manually obtaining the auth_token and copy/pasting it into the auth tab of the deletion and status requests. The tokens expire every 5 mins, so I need to this frequently as I check the deletion request status.
Is there any way to obtain auth automatically and use it as the bearer token for subsequent requests? I’ve been able to do this for Basic Auth in another collection, but “Inherit from Parent” isn’t working in the case of Heap’s API.
You could get the request info from the API docs and then build it into a pre-req (so that it is called before every request), using something like this;
Okay, I made the manual request that is/was working, checked the console log and just copy/pasted that encoded value…which worked. Not sure where my encoding was off, but either way, working now. Thanks again!