Skip to main content

Onboard an API from Postman


Prerequisites​

  • A Postman account (signed in on the web or desktop app).
  • Access to the team/workspace whose collections/APIs you want to use.
  • At least one Postman Workspace you can access.
  • If your company uses Postman Enterprise, a Team Admin might control who can generate keys and set org-wide expiry—if you don't see the option to create a key, ask your admin.

Get your Postman API key​

  1. In Postman, click your avatar → Settings.

    Avatar menu with Settings option

  2. On the Account settings page, open API keys.

  3. Click Generate API Key, give it a name, then Generate.

    Generate API Key dialog

  4. Copy the API-key (store it securely; you won't see it again in full).

  5. You can later rename, regenerate, delete, or set expiration for keys.

  6. You can use this API-Key to get the list of APIs/Collections present in your Postman application by creating a Connection in the APIsec Platform.


Start adding a new application​

Select Postman Gateway​

  • Choose the Postman Gateway option.

    Choose the Postman Gateway

Enter application details​

  • To register an application from Postman Gateway, enable the toggle button

    Postman Gateway toggle

  • If existing connections are available, they will be displayed in the Connections list. To create a new connection, click New Connection.

  • If no connections exist, a connection form is displayed, allowing you to enter the required details and create a connection.

    New Connection button

  • Fill in the form with Name and API Key

    Postman connection form

  • Click Test Connection

    Test Connection button

  • Once the connection test succeeds, click Create Connection

    Create Connection button

  • Select Workspace and the correct API from the API list

    Select Workspace and API

  • Click Continue

    Continue button

  • Click Onboard

    Onboard button

  • Application Dashboard

    Application dashboard

Auto-Onboard​

The Auto-Onboard feature streamlines API onboarding by automatically detecting and registering unregistered APIs from Postman Gateway. This ensures that all APIs, including newly published ones, are consistently onboarded and tested for vulnerabilities with minimal manual effort.

Enable Auto-Onboard​

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Integrations tab

    Integrations tab

  • Click Onboard Applications adjacent to the Postman Gateway

    Onboard Applications for Postman Gateway

  • Enable Auto-Onboard of any existing Postman connection.

    Auto-Onboard toggle

  • Fill in the Postman AutoOnboard Details and click Save Schedule

    • Frequency – How often the onboarding should occur. By default it is weekly.
    • Day of the Week – Select the specific day for onboarding.
    • Hour – The exact time (in hours and minutes) when the onboarding should start.
    • Timezone – The timezone in which the schedule should be applied
    • Workspace – Select the workspace you want to onboard from the Workspace dropdown.
    • Type - Choose the corresponding Type (Collections/APIs/All) for the selected workspaces.
    • API Selection Scope - Select whether to auto-onboard all available APIs or limit onboarding to only those published after the specified date.

    Postman AutoOnboard details and Save Schedule button

  • Successfully saved auto-onboard details.

    Auto-onboard saved confirmation

Update Schedule​

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Integrations tab

    Integrations tab

  • Click Onboard Applications adjacent to the Postman Gateway

    Onboard Applications for Postman Gateway

  • Click Auto-Onboard enabled toggle.

    Auto-Onboard enabled toggle

  • Update the details and click Update Schedule

    Update Schedule button

Disable Auto-Onboard​

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Integrations tab

    Integrations tab

  • Click Onboard Applications adjacent to the Postman Gateway

    Onboard Applications for Postman Gateway

  • Click Auto-Onboard enabled toggle.

    Auto-Onboard enabled toggle

  • In Edit Postman AutoOnboard Details, disable the Enable Automatic API Onboarding.

    Disable automatic API onboarding

  • Click Yes to confirm

    Confirmation dialog

  • Auto-Onboard details deleted.

    Auto-Onboard details deleted message

Edit Postman connection​

To edit the Postman connection

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Integrations tab

    Integrations tab

  • Click Onboard Applications adjacent to the Postman Gateway

    Onboard Applications for Postman Gateway

  • A list of existing Postman connections is displayed.

    Postman connections list

  • Select the Pencil icon next to the connection you want to edit.

    Pencil icon next to a connection

  • Update the required details and click Test Connection

    Test Connection button

  • Once the connection test succeeds, click Update Connection

    Update Connection button

  • The updated connection is now displayed in the connections list.

    Updated connections list

Delete Postman connection​

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Integrations tab

    Integrations tab

  • Click Onboard Applications adjacent to the Postman Gateway

    Onboard Applications for Postman Gateway

  • A list of existing Postman connections is displayed.

    Postman connections list

  • Select the Delete icon next to the connection you want to delete.

    Delete icon next to a connection

  • Click Delete to confirm

    Delete confirmation dialog

  • The deleted connection is no longer displayed in the connections list.

    Connections list after deletion

Application onboarding using a Postman Collection​

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click on the Add Application button.

    Add Application

  • Choose the Postman Gateway option.

    Choose the Postman Gateway

  • Enter the Name of the Application, upload the Postman Collection file, and click Continue

    Application name and Postman Collection upload

  • Add or update the required Environment URL

    • To upload a Postman Environment file for an environment, click the File Upload icon next to the corresponding Environment URL.

      File Upload icon next to the Environment URL

  • Click Onboard.

    Onboard button

  • Application Dashboard

    Application dashboard

Application onboarding using a Postman Collection ID​

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click on the Add Application button.

    Add Application

  • Choose the Postman Gateway option.

    Choose the Postman Gateway

  • Click URL

    URL option

  • Enter the Name of Application, Collection Id, and API Key, and click Continue

    Application name, Collection Id, and API Key fields

  • Add or update the required Environment URL and click Onboard

    Environment URL and Onboard button

  • Application Dashboard

    Application dashboard