> ## Documentation Index
> Fetch the complete documentation index at: https://docs.argyle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Postman

The quickest way to test the Argyle API.

Copy our public Postman collection to get started testing each endpoint:

<a href="https://god.gw.postman.com/run-collection/24800167-234f2ed5-ac66-4265-8afe-cd2119292380?action=collection%2Ffork&collection-url=entityId%3D24800167-234f2ed5-ac66-4265-8afe-cd2119292380%26entityType%3Dcollection%26workspaceId%3Da4918323-bf08-413d-b8d4-c8b7b7f39924" target="_blank">
  <img height="200" noZoom src="https://mintcdn.com/argyle/zqWJd3KfgY_JZecH/images/api-guide/postman/postman-button.svg?fit=max&auto=format&n=zqWJd3KfgY_JZecH&q=85&s=8e07ab9bae4b5398b9173e85aec71f4d" data-path="images/api-guide/postman/postman-button.svg" />
</a>

## How to copy the collection

1. Click the button above.
2. Create or retrieve your Argyle API keys [from Console](https://console.argyle.com/api-keys).
3. Replace the username field on Postman's authorization page with your `Sandbox API Key ID`.
4. Replace the password field on Postman's authorization page with your `Sandbox API key SECRET`.

<Frame>
  <img src="https://mintcdn.com/argyle/0_py1wv-xzxlL1Oi/images/api-guide/postman/postman-01.png?fit=max&auto=format&n=0_py1wv-xzxlL1Oi&q=85&s=48544269908a087552b5c8bc4a8a3da4" alt="Add your API keys on Postman's Authorization tab." width="2100" height="1350" data-path="images/api-guide/postman/postman-01.png" />
</Frame>

## Setting environment variables

We recommend creating a Sandbox and Production environment via Postman's sidebar, where you can store `{{variable values}}` such as your [API keys](/api-guide/overview#authentication) or [base URLs](/api-guide/overview#environments). This lets you quickly switch between Sandbox and Production when making API calls using the dropdown in the upper right.

<Frame>
  <img src="https://mintcdn.com/argyle/0_py1wv-xzxlL1Oi/images/api-guide/postman/postman-03.png?fit=max&auto=format&n=0_py1wv-xzxlL1Oi&q=85&s=97739ab69aa91f5b048c684b6b5d8af7" alt="Save environment variables in Postman to quickly switch between using the Sandbox and Production API's." width="2100" height="648" data-path="images/api-guide/postman/postman-03.png" />
</Frame>

Argyle provides two environments:

| Environment | Purpose          | Base URL                            |
| ----------- | ---------------- | ----------------------------------- |
| Sandbox     | Testing          | `https://api-sandbox.argyle.com/v2` |
| Production  | Real connections | `https://api.argyle.com/v2`         |

## Documentation in Postman

Clicking on the **Documentation** icon in the upper-right corner will display additional details for each endpoint.

<Frame>
  <img src="https://mintcdn.com/argyle/0_py1wv-xzxlL1Oi/images/api-guide/postman/postman-02.png?fit=max&auto=format&n=0_py1wv-xzxlL1Oi&q=85&s=a471fe289d90ab58ee66831c8bcabf93" alt="Image showing how to open Documentation within Postman for the Argyle API collection." width="2100" height="1350" data-path="images/api-guide/postman/postman-02.png" />
</Frame>

[API Reference](/api-reference/users#object)
