Keys / Postman

POSTMAN_API_KEY

A Postman API key that the Postman CLI and scripts use to reach your collections, environments and workspaces.

Expires
you choose; a team admin can set 30, 60 or 180 days for all keys
API
none documented; account settings only

Get it

Create one on go.postman.co/settings/me/api-keys. The steps aren't recorded yet.

Set it

POSTMAN_API_KEY=...

The Postman CLI and Postman's MCP server read it on their own. Or keep it out of .env with keypin: keypin run -- npm run dev

Replace it

  1. Generate a new API key.
  2. Deploy it everywhere that reads POSTMAN_API_KEY.
  3. Check that nothing still uses the old key, then delete it from its menu on the API keys page.
  4. Or select Regenerate in the old key's menu. The docs don't say when the old value stops working.

Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.

Sources, checked 2026-11-16