Skip to main content

Check out Port for yourselfย 

Create an access token

POST 

/v1/auth/access_token

This route allows you to create an access token for your Port account. You can use this token to authenticate your requests to the Port API.

To obtain your client ID and client secret, go to your Port application, click on the ... button in the top right corner, then click Credentials.

Requestโ€‹

Body

required

    clientIdstringrequired

    Your Port client ID

    clientSecretstringrequired

    Your Port client secret

Responsesโ€‹

Authorized successfully

Schema

    ok

    Possible values: [true]

    accessTokenstringrequired
    expiresInnumberrequired

    The number of seconds until the access token expires

    tokenTypestringrequired