Set initial value of collection variables -
Help - Postman Community

You need to generate and include an API key in the headers (X-API-Key).
The above is a full request, but you can use sendRequest() in a pre-request script to the same effect.
Set initial value of collection variables -
Help - Postman Community

You need to generate and include an API key in the headers (X-API-Key).
The above is a full request, but you can use sendRequest() in a pre-request script to the same effect.