Skip to main content

Get an access token

POST /oauth/token

Get an access token

Header Parameters
  • x-trackingid uuid

    A recommended tracking ID that can be supplied to Pexip support to troubleshoot a request.

  • user-agent string

    A recommended User Agent that can be used by Pexip to identify the client sending the request.

Request Body required
  • grant_type string required

    Default value: client_credentials

    Type of OAuth flow. Only client_credentials is supported.

Responses

Success response containing the access token and associated metadata.

Schema
  • access_token string

    Access token

  • token_type string

    Possible values: [bearer]

    Type of access token

  • expires_in integer

    Number of seconds the token is valid for

Loading...