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.
userFirstName string: required The first name of the user your app is authenticating.
userLastName string: required The last name of the user your app is authenticating.
userDateOfBirth date: required The date of birth of the user your app is authenticating.
userId string: required The unique identifier of the user your app is authenticating. This value can be the
ClientUserId or Recuro Health's UserId.
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>'
-d 'userFirstName=John'
-d 'userLastName=Doe'
-d 'userDateOfBirth=01/01/1975'
-d 'userId=mbr_f528cd3dd40746c7a9ab5b2961b03511'Response
An access token object if a valid request was provided.
Updated 7 months ago
