P

Port API

REST discovered

Details
URL
https://api.port.io
Docs
https://docs.port.io/api-reference/port-api
Authentication
Port API access token bearer discovered Get token ↗
Authorization: Bearer <credential>

Generate a short-lived API token from the Port application via Credentials → Generate API token, or mint it programmatically by calling POST https://api.port.io/v1/auth/access_token (EU) or the US-region equivalent with your clientId and clientSecret from the same credentials page. The docs state the token is valid for 3 hours.

Port client ID and client secret compound discovered Get key ↗
api_key=<credential>

In the Port application, open the menu and go to Credentials, then copy your clientId and clientSecret. The API docs say you can obtain them from the app's Credentials page and use them to create short-lived access tokens via POST /v1/auth/access_token.