AM/FA/Inv - Get All OAuth Clients for Current Organization

Details

/external/v1/oauth/client/current

Synopsis

Get All OAuth clients for the current organization

get

This route is to be used by an OAuth client to get all the OAuth clients that are linked to the same organization as the current client. The client should be authenticated and a valid access token provided.

This endpoint can be called by applications with access to scope "manageExternalClients".

Authorizations
Responses
200
Successfully obtained the data
application/json
get
GET /external/v1/oauth/client HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "extraData": {
      "externalId": "123456789",
      "some": "Custom Property"
    },
    "clientId": "TEST1234",
    "accessScopes": [
      "createSubscription",
      "readSubscription"
    ],
    "application": "TEST1234 App",
    "primary": true
  }
]

Last updated

Was this helpful?