Skip to content

Engineering

Connect Postman to Crewhir

Browse workspaces, collections and environments. This guide covers how to connect Postman, the permissions Crewhir asks for, what it can read and modify, how to test it, and how to disconnect it.

Connects with
API key or token
Reads
7 actions, always on
Changes
1 action, off by default, each one approved

How to connect Postman

Anyone with a Crewhir account can connect Postman. It takes about a minute, and you can connect more than one Postman account.

  1. Sign in to Crewhir at app.crewhir.com and open Integrations in the sidebar.
  2. Find Postman and open it, then click Connect Postman (or Add account if one is already connected).
  3. In Postman, create the credentials below, then paste them into the form:
    • Postman API key
  4. Click Connect. Crewhir checks the credentials with Postman before it saves them, and the account shows Connected.
The Connect Postman dialog in the Crewhir app (illustration)

Permissions Crewhir requests

Postman connects with an API key, so there is no OAuth consent screen. The key can do whatever Postman lets it do, but Crewhir only ever calls the actions listed under What Crewhir can read and modify. Where Postman offers scoped or read-only keys, use the narrowest one that covers the actions you want.

Keys are encrypted before they are stored, and are never shown again after you save them.

What Crewhir can read and modify in Postman

This is the complete list. Crewhir can’t call anything in Postman that isn’t here. Reading happens only when someone asks Crewhir for something that needs it.

Read

Always on. Runs when you ask.

  • Check which account is connected
  • List workspaces
  • List collections
  • Read collection
  • Read workspace
  • List environments
  • Read environment

Modify

Off until you turn it on. Approved one at a time.

  • Create collection

To let Crewhir make a change, open Postman in Integrations and turn it on under What Crewhir can change. Even then, Crewhir stops and asks before each change, and drops it if nobody answers within 15 minutes. Everything it changes is listed under Recent changes.

Postman in Crewhir: a connected account and the changes it may make (illustration)

Test the integration

1. Check the connection

On the Postman page in Crewhir, click Check next to the account. Crewhir calls Postman with the stored credentials and confirms which account answered. You’ll see “account is working”.

Check confirms the connection works (illustration)

2. Run a read action

Start a new chat. In the message box, open the tools menu and make sure Postman is ticked, then send:

Using Postman, list workspaces.
Choose Postman in the tools menu (illustration)
Crewhir reads from Postman and answers (illustration)

3. Test a change (with approval)

Turn on Create collection for the account, then ask Crewhir to do it. Crewhir stops and shows what it’s about to send to Postman. Click Approve to run it, or Decline to drop it. Nothing changes in Postman until you approve.

Crewhir waits for a yes before it changes anything in Postman (illustration)

How to disconnect Postman

  1. In Crewhir, open Integrations, then Postman.
  2. Click ⋯ next to the account and choose Disconnect. (With several accounts, the menu at the top also offers Disconnect all accounts.)
  3. Confirm with Disconnect.
The account menu (illustration)
Confirm to disconnect (illustration)

Crewhir deletes the connection and its stored credentials straight away. From then on it can’t read or change anything in Postman.

To make sure the key can’t be used again, also delete or rotate it in Postman.

Data and security

  • Credentials are encrypted at rest and never shown back to anyone, including your workspace admins.
  • Crewhir only calls the 8 actions listed above, and only when someone in your workspace asks for something that needs Postman.
  • Changes are off by default, need your approval each time, and are logged under Recent changes.
  • Disconnecting deletes the stored credentials immediately.

Read more on our security page and in the privacy policy. Questions about this integration: [email protected].