# Asc\_session\_id to asc\_xsrf\_token using only APIkey id and Key Secret

**URL:** <https://community.postman.com/t/asc-session-id-to-asc-xsrf-token-using-only-apikey-id-and-key-secret/16951>\
**Category:** Help Hub\
**Created:** [October 21, 2020, 3:29am UTC](https://community.postman.com/t/asc-session-id-to-asc-xsrf-token-using-only-apikey-id-and-key-secret/16951 "2020-10-21T03:29:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![knychtell](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@knychtell](https://community.postman.com/u/knychtell)\
**Post date:** [October 21, 2020, 3:29am UTC](https://community.postman.com/t/asc-session-id-to-asc-xsrf-token-using-only-apikey-id-and-key-secret/16951/1 "2020-10-21T03:29:50Z")

</div>

Hello,

I would like to ask how to reuse  
the response header values  
on the succeeding calls on a and automatically create a header for it?

what if the creds are api key id and secret that is on the body of the first post, say login post. then the asc\_ssession\_id is generated on the response header.

how can i use the value of the header if the succeeding api calls need the value but with a different header, say asc\_xsrf\_token?
