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

# Access Postman data programmatically

The [Postman API](/api-docs/api-reference/) enables you to programmatically access data stored in your Postman account. You can use the API to perform actions such as managing your collections, APIs, workspaces, and more.

The access rate limits for your Postman account depend on your Postman plan. For more information, see [Postman API rate limits](/docs/reference/postman-api/postman-api-rate-limits/).

This tutorial shows you how to make your first call to the Postman API. You can also learn more about the Postman API by reading the [Postman API documentation](https://api.postman.com/). There you will find information to help you get started and information about each endpoint and operation.

This tutorial uses the Postman API collection. You can also use the [Postman SDK](https://www.postman.com/postman/postman-public-workspace/sdk-gen?entityId=3001f4e4-5f9d-4bac-9f57-b2c4d483508f\&entityType=specs) to call the Postman API from your preferred programming language.

## Get your API key

Before you can use the Postman API, you'll need an API key. An API key is a way to identify who you are when you make a request to the Postman API endpoints. It also lets the system know what you can do with the Postman API. For more details, see [Generate and use Postman API keys](/docs/reference/postman-api/authentication/#generate-a-postman-api-key).

## Store your API key

After you create your API key, store it in [Postman Vault](/docs/use/postman-vault/postman-vault-secrets/) as a vault secret. You can then reuse it across workspaces in your team.

## Make your first request

For your first request, you'll use the `/me` endpoint. This is a basic GET endpoint that doesn't change any data. It returns information about the user that owns the API key that's being used to authenticate the call.

### Fork the Postman API collection

Before you call the `/me` endpoint, fork the [Postman API collection](https://api.postman.com/). [Forking](/docs/collaborating-in-postman/using-version-control/forking-elements/) creates a copy of the collection that you can change but doesn't affect the parent element.

To fork the collection, click **Run in Postman**:

<center>
  [<img src="https://run.pstmn.io/button.svg" alt="Fork the Postman API collection" />](https://app.getpostman.com/run-collection/12959542-c8142d51-e97c-46b6-bd77-52bb66712c9a?action=collection%2Ffork\&source=rip_markdown\&collection-url=entityId%3D12959542-c8142d51-e97c-46b6-bd77-52bb66712c9a%26entityType%3Dcollection%26workspaceId%3D405e0480-49cf-463b-8052-6c0d05a8e8f3)
</center>

Follow the prompts. Enter a label for your forked Postman API collection in the **Fork label** box. Then in the **Workspace** box, select the workspace in which to create the forked collection.

Click **Fork Collection** to create the fork. Postman redirects you to the workspace you selected to create the forked Postman API collection.

### Make the API call

1. In the forked Postman API collection, select the **Users** folder. This folder contains the **Get authenticated user** (`/me`) endpoint.

2. Select the **Get authenticated user** request, then click **Send**. Postman returns an HTTP `401 Unauthorized` response. This is because the endpoint requires authorization before it returns information about the API key's owner.

   ![The Invalid API Key authentication error](https://assets.postman.com/postman-docs/v12/postman-api-401-error-v12-02.png)

3. Use the API key that you stored in your Postman environment. To do this, select the environment where you stored your API key.

4. Click **Send**. The Postman API returns a successful response.

   ![A successful Get authenticated user endpoint response](https://assets.postman.com/postman-docs/v12/postman-api-success-response-v12-01.png)

Congratulations! You have made your first call to the Postman API.