Create Access Token

Creates a new Access Token.

Request

POST /auth/v1/oauth/token

Parameters


audience string : required The unique identifier of the target API you want to access. In this case, this should be set to: https://platform.wellviasolutions.com
grantType string : required Specifies the protocol that should be used to get an access token. In this case, this should be set to: client_credentials.
clientId string : required The public identifier for your application, provided to you by Recuro Health.
clientSecret string : required The secret that is used to authenticate your application, provided to you by Recuro Health.

Example


curl -XPOST 'https://platform.wellviasolutions.com/auth/v1/oauth/token' \
    -d 'audience=https://platform.wellviasolutions.com'
    -d 'grantType=client_credentials'
    -d 'clientId=<YOUR-CLIENT-ID>'
    -d 'clientSecret=<YOUR-CLIENT-SECRET>'

Response

An access token object if a valid request was provided.