> This page is for Postman Docs, version Latest (v12) (default).
> For other versions, use one of these documentation indexes:
> - Latest (v12) (default): https://learning.postman.com/latest-v-12/llms.txt
> - v11: https://learning.postman.com/v11/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt.

# Share collections and other elements

> Share collections, APIs, and environments with specific team members, a Run in Postman button, the Postman API, or a URL.

You can share your collections, APIs, and environments with your team and with people outside your team. [Guests who are part of your organization](/docs/collaborating-in-postman/sharing/share-with-guests/) can also view your collections.

Other Postman elements are shared differently:

* To share a flow, refer to [Share links to flows and embed flows in websites](/flows/build-flows/organize/share-and-embed-flows/).
* To share a collection run, refer to [Test your API using the Collection Runner](/docs/tests-and-scripts/running-collections/intro-to-collection-runs/intro-to-collection-runs-overview/).
* To share a collection as a file, refer to [Data import and export in Postman](/docs/getting-started/importing-and-exporting/importing-and-exporting-overview/).
* To share a monitor, refer to [Work with monitors](/docs/monitoring-your-api/setting-up-monitor/#work-with-monitors).

You can share Postman elements with your team by selecting specific people or using the **Run in Postman** button, the [Postman API](/api-docs/api-reference/), or sharing a link.

For all sharing options except the **Run in Postman** button, the user receiving the link has the option to open the link in the Postman desktop app by default. To change this setting, you can do the following:

1. Click ![Setting icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-descriptive-setting-stroke.svg#icon) **Settings** in the Postman header
2. Click **App settings > ![Setting icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-descriptive-setting-stroke.svg#icon) General**, and under **Application** turn off **Always open in desktop app**.

## Share Postman elements with specific team members

To share Postman elements by selecting team members, do the following:

1. Click ![Options icon](https://assets.postman.com/postman-docs/aether-icons/action-options-stroke.svg#icon) **View more actions** next to the element you want to share, then click **Share**. If you have unsaved changes in your collection, you'll be prompted to save and share, share without saving, or save and overwrite.

2. Enter the name, email address, or [group name](/docs/administration/managing-your-team/user-groups/), then select a [Viewer or Editor role](/docs/administration/roles-and-permissions/#element-based-roles) for them.

   > **Info**
   >
   > If you share a request or a saved response, the existing roles will be inherited from the collection.

3. If you have an Editor role, under **Manage access**, you can assign the Viewer or Editor role to everyone in the workspace's team.

4. If you're sharing a collection, collection folder, request, or example, you can also specify an active environment. Select **Include environment** and select the environment.

   > **Info**
   >
   > To change the active environment for the team members and groups you want to share with, you must share the collection, collection folder, request, or example with them again. Choose a new environment in the environment dropdown list, then click **Invite**.

5. Click **Invite**.

Postman emails the selected people that you shared the element with.

## Share using a Run in Postman button

You can share a collection in a website, README, or other documentation by embedding a **Run in Postman** button.

1. Hover over the collection you want to share, click ![Options icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-options-stroke.svg#icon) **View more actions**, then click **Share**.

2. In the **Share collection** dialog, click ![Options icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-options-stroke.svg#icon) **View more actions**, then select **Run in Postman**.

3. Select who can view the collection:
   * **Team** - Anyone on your team can view the collection.
   * **Public** - Anyone can view the collection.

4. Click **Next**.

5. Configure any additional settings:
   * To include an environment, select one from the **Add an environment** dropdown list.
   * To enable people outside your team to access the collection, turn on **Allow Guests to view collection via Run in Postman**.

6. Under **Embed code**, click **HTML friendly** or **Markdown friendly**, then click ![Copy icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-copy-stroke.svg#icon) **Copy Code**.

You can create a **Run in Postman** button for any of your public collections from the Postman API Network. For more information on creating and using a **Run in Postman** button, see [Create a Run in Postman button](/docs/publishing-your-api/run-in-postman/creating-run-button/).

## Share using the Postman API

To share the collection JSON using the Postman API, do the following:

1. Hover over the collection you want to share, click ![Options icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-options-stroke.svg#icon) **View more actions**, then click **Share**.

2. In the **Share collection** dialog, click ![Options icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-options-stroke.svg#icon) **View more actions**, then select **Share via API**.

3. Under **Get collection JSON using Collection Access Key**, click **Generate New Key** to create a read-only collection access key. This key expires after 60 days of inactivity.

   > **Info**
   >
   > **Make sure you remove any sensitive information from your collection before sharing collection access keys.**

   > **Info**
   >
   > If **Share via API** isn't available for a collection, your team's Super Admin may have turned off the [**Allow creation of Collection Access Keys**](/docs/collaborating-in-postman/manage-public-elements/#collection-access-keys) setting. Contact your Super Admin to check.

4. (Optional) If you are on an Enterprise plan and have permission to [manage public elements](/docs/collaborating-in-postman/manage-public-elements/), you can click **Manage keys** to view or revoke this collection access key on the [Manage public elements page](https://go.postman.co/manage-public). You can also view or revoke collection access keys you created on your [API keys page](https://go.postman.co/settings/me/api-keys). To learn more about collection access keys, visit [Generate a collection access key](/docs/reference/postman-api/authentication/#generate-a-collection-access-key).

Anyone with this link has read-only access to the collection's JSON. The data that this Postman API endpoint serves reflects the current state of the collection.

![Share a collection using an API](https://assets.postman.com/postman-docs/v11/share-collection-via-api-v11.jpg)

If you want to share a link with other users, click **Link to collection in public workspace** to provide a link to the collection. The collection must be in a public workspace. If the collection isn't in a public workspace, click **Move Collection**, then choose a public workspace to move it to. Click **Copy link** to copy the link to your clipboard, then share the link with others. Anyone with this link can view and fork your public collection.

## Share using a URL

You can share collections and other elements with your team and coworkers who aren't part of your team.

Select the collection, folder, request, or example and click ![Options icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-options-stroke.svg#icon) **View more actions**, then select **Copy link** to copy a URL you can paste in a messaging app or email.

To share a URL to a collection, folder, request, or example with a specific environment selected, click ![Options icon](https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-options-stroke.svg#icon) **View more actions > Share**.

> **Info**
>
> You can also use the [Postman VS Code extension](/docs/reference/vs-code-extension/overview/) to share a collection and environment, or a URL to a collection and environment.

If the person you're sharing a link with isn't part of your team, they'll be prompted to request to join the team.

> **Info**
>
> If enabled in the [team settings](/docs/collaborating-in-postman/requesting-access-to-elements/#manage-team-access-through-shared-resources), users on Team plans from verified domains can automatically join your team using a shared link.

![Request to join the team](https://assets.postman.com/postman-docs/v11/rfa-join-team-v11.jpg)

An [Admin](/docs/administration/roles-and-permissions/#team-roles) will then approve or deny the request.

![Approve or deny the request to join the team](https://assets.postman.com/postman-docs/v11/rfa-approve-deny-v11.jpg)

> **Info**
>
> Your team must have [available seats](/docs/billing/billing/#changing-your-plan) or [Auto-Flex enabled](/docs/billing/billing/#using-auto-flex) to invite more team members. If your team has [SSO enabled](/docs/administration/sso/intro-sso/), users who aren't part of your team will be required to sign in using your team's SSO.