API 1
cURL
curl --request GET \ --url https://external.pleo.io/v1/introspect \ --header 'Authorization: Bearer <token>'
{ "data": { "authMethod": "API_KEY", "clientId": "d8b8a6d4-3c4b-4b8e-8b2e-1f2a3d4e5f6a", "scope": "export:read users:write expense:read", "applicationName": "Netsuite", "subjectURN": "urn:pleo:company:d7b8a6d4-3c4b-4b8e-8b2e-1f2a3d4e5f6b" } }
Returns the detail of the current authentication and what scope of the authentication (i.e API KEY or OAuth bearer token)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Introspection successful.
Show child attributes
Was this page helpful?