# Created mock server not visible in team workspace

**URL:** <https://community.postman.com/t/created-mock-server-not-visible-in-team-workspace/3480>\
**Category:** Help Hub\
**Tags:** mocks, mockservers\
**Created:** [December 4, 2018, 4:50pm UTC](https://community.postman.com/t/created-mock-server-not-visible-in-team-workspace/3480 "2018-12-04T16:50:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luscit](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@luscit](https://community.postman.com/u/luscit)\
**Post date:** [December 4, 2018, 4:50pm UTC](https://community.postman.com/t/created-mock-server-not-visible-in-team-workspace/3480/1 "2018-12-04T16:50:08Z")

</div>

> **Archived topic — some details may be out of date.**  
> Mock servers built from saved collection examples are still supported. Postman now also has **code-based mocks** : JavaScript request handlers plus a `config.yaml`, stored as files in your Git repository, which you can run locally or deploy. Create one in the app, or use the Postman CLI to generate one from an OpenAPI spec, collection or dataset (`postman mock generate`) and run it (`postman mock run`). See [About mocks](https://learning.postman.com/docs/design-apis/mock-apis/mocks/overview) and [Create a mock](https://learning.postman.com/docs/design-apis/mock-apis/mocks/create-a-mock).  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) can build and run mocks for you.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hello,

just trying to get started with mock servers. If I create them from the app I see them and can use them.

If I login to the team workspace I cannot see any mock server.

What is the deal with mock servers and teams? Are the mock servers shared? Is it always something private to my user account (team admin in my case)?

A bit confused right now.

---

<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:** [December 5, 2018, 12:36am UTC](https://community.postman.com/t/created-mock-server-not-visible-in-team-workspace/3480/3 "2018-12-05T00:36:58Z")

</div>

A mock exists in the workspace where it is created.

- If you create a mock in a team workspace, then your teammates can see the mock in the Postman app or dashboard under the team workspace.
- If you create a mock in a personal workspace, then your teammates won’t be able to see the mock at all
- If you create a mock in a workspace, and then share the associated collection to a team workspace, then the mock remains in the original workspace where it was created. So you and your teammates won’t see any mock in the second workspace.

Note that there’s a difference between seeing the mock in the Postman interface and being able to use it. The scenarios described above are how your teammates (and you) can see the mocks.

To use them, all mocks are public (by default) and can be used by anyone. If you check the box to make the endpoint private when you’re creating the new mock, it can then only be accessed with a valid API key.
