POST
/
auth
/
token

The path is relative to your company specific url:

https://your_subdomain.variable.global/api

Unless you have a public API, you will need to authenticate your requests to the PACT API. This is done using the OAuth 2.0 protocol.

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/x-www-form-urlencoded
grant_type
string
required

client_credentials

Response

200 - application/json
access_token
string
refresh_token
string
token_type
string
scope
string