AM/FA/Inv - Get Current OAuth Client
Details
/external/v1/oauth/client/current
Synopsis
This route is to be used by an OAuth client to get its own information. The client should be authenticated and a valid access token provided.
Authorizations
Responses
200
Successfully obtained the data
application/json
401
The following error codes can be returned:
- AU0001
Please refer to the error code dictionary for the details of each error code.
application/json
404
The following error codes can be returned:
- AU0006
Please refer to the error code dictionary for the details of each error code.
application/json
get
GET /external/v1/oauth/client/current HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"extraData": {
"externalId": "123456789",
"some": "Custom Property"
},
"clientId": "TEST1234",
"accessScopes": [
"createSubscription",
"readSubscription"
],
"application": "TEST1234 App"
}
Last updated
Was this helpful?