Use Auth0 APIs with Postman Collections
Install Postman Collections
To install the Postman Collection, you must first install the Postman App for Windows, Mac, or Chrome. You can download any of these fromPostman Apps.
Next, visit Auth0 APIs and install the Collection you want to use by clicking on the relevant Run in Postman button.
Postman will prompt whether you want to open the Collection in Postman for Chrome or Postman for Windows/Mac. Select the application you installed.
Once you make a selection, the selected Postman application will open and the collection will be imported.
Our API Collections are organized into folders that categorize the various API calls according to category. For example, you will find all the Users methods under the Users folder in the Management API.
Configure Postman Environment
The Auth0 Postman Collections make use of environment variables to customize the requests that are sent. To learn more about managing Postman environments, see Setting up an environment with variables.
You must create an environment and configure the following variables:
||Should contain the domain for your Auth0 tenant, such as
||Should contain the token needed to make calls to the Management API. Is only required when using the Management API collection. To learn more, see How to Get an Access Token for the Management API.|
In the screenshot below, you can see a Postman environment configured with both the
auth0_token variables defined:
Once the environment is configured, you can follow these steps to execute an Auth0 API method:
- Select the environment with which you want to work.
- Select the relevant API method in the collection folder.
- Click the Send button.
You may also have to configure query parameters or the JSON method body, depending on the API call. To learn more, see Sending Requests.