# How to avoid sharing apitoken in header across a team

**URL:** <https://community.postman.com/t/how-to-avoid-sharing-apitoken-in-header-across-a-team/7025>\
**Category:** Help Hub\
**Tags:** team, header, apitoken\
**Created:** [August 7, 2019, 2:16pm UTC](https://community.postman.com/t/how-to-avoid-sharing-apitoken-in-header-across-a-team/7025 "2019-08-07T14:16:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlaa](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@tlaa](https://community.postman.com/u/tlaa)\
**Post date:** [August 7, 2019, 2:16pm UTC](https://community.postman.com/t/how-to-avoid-sharing-apitoken-in-header-across-a-team/7025/1 "2019-08-07T14:16:28Z")

</div>

Hi,

ISSUE:  
To test an API, I use an API token in the header of each request (stored in my presets). All the requests are in shared collection with the team. The problem is that my APItoken is shared as well.  
Is there a way to share a collection with my API token in headers hidden?

Because if an other person of my team runs the collection, it will use my API token.

Or an idea would be that each team member has its own API token and depending the member that runs the collection, it will use his API token.

Thank you for assistance,  
Thomas

---

<div class="post-metadata">

**Author:** ![jetison](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jetison/32/12_2.png) [@jetison](https://community.postman.com/u/jetison)\
**Post date:** [August 7, 2019, 4:50pm UTC](https://community.postman.com/t/how-to-avoid-sharing-apitoken-in-header-across-a-team/7025/2 "2019-08-07T16:50:08Z")

</div>

Hi there @tlaa - you can store your personal API token in an environment using [sessions](https://blog.getpostman.com/2018/08/09/sessions-faq/), and still use your presets if you’d like.

Your question is similar to this one here. Take a look at the example at the bottom of the Sessions FAQs.

> [@Personal environment in shared workspace](https://community.postman.com/t/personal-environment-in-shared-workspace/5276):
>
> Our team is just getting started with postman. We want to have a shared workspace with generic environments, but we also want to have personal environments that are not synced in the shared workspace for each developer. Is this possible?

---

<div class="post-metadata">

**Author:** ![tlaa](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@tlaa](https://community.postman.com/u/tlaa)\
**Post date:** [August 13, 2019, 1:52pm UTC](https://community.postman.com/t/how-to-avoid-sharing-apitoken-in-header-across-a-team/7025/3 "2019-08-13T13:52:11Z")

</div>

Hi Joyce,

Got it! Thank’s !

Thomas
