# Using Postman with Sirv API

Postman is a great way to quickly test and play with an API, such as Sirv’s API.

To get you started fast, we provide a [Postman collection](https://api.postman.com/collections/296061-358bdd21-10e7-4825-b82e-1229cb1865b4?access_key=PMAT-01JN6B29YTEZ4JRW2JNWKQF2M6) - a set of pre-written requests for the Sirv REST API.

## Setup Sirv on Postman

1\. [Download](https://www.postman.com/downloads/) and install Postman for Windows / Mac / Linux (or try it in your [browser](https://go.postman.co/build)). 2. Click “Run in Postman” below. It will add the Sirv REST API collection to your Postman:

3\. Get these 3 variables from your Sirv account:

-   alias - your Sirv [account name](/help/getting-started/account-name-subdomain/).
-   clientId - shown on your [API client](https://app.sirv.com/settings/api) page.
-   clientSecret - shown on your [API client](https://app.sirv.com/settings/api) page.

Add them by right-clicking the “Sirv REST API” collection and clicking “Edit”. Enter your 3 variables in the Variables tab under Current Value:

![Enter API variables into Postman](https://docs.sirv.com/img/help/screenshots/arrows-2026-11/postman-vars-v3.png)

The variables are referenced throughout the collection with `{{varName}}`.

4\. Try running various API requests by clicking the blue Send button.

Some requests - especially GET requests - require Parameters. These are items added to the request, such as `?filename` or `?dirname`:

![Enter parameters in Postman](https://sirv.sirv.com/website/screenshots/Postman/postman-parameters-in-GET-query.png?profile=screenshots-grey-border)

Some POST requests also require parameters:

![POST request with parameters](https://sirv.sirv.com/website/screenshots/Postman/postman-post-request-parameters.png?profile=screenshots-grey-border)

Other POST requests don’t require parameters, they use raw data from the Body tab:

![Enter raw data in Postman Body tab](https://sirv.sirv.com/website/screenshots/Postman/postman-raw-data-body-tab.png?profile=screenshots-grey-border)

## Further documentation and help

Get more help with the Sirv REST API:

-   [Sirv REST API documentation](https://api.sirv.com/v2/docs) - full list of more than 60 API methods.
-   [Example scripts](/help/rest-api/sirv-rest-api/) - scripts for connecting and running various commands.
