Help

Issue a client-credentials access token (scope=olifyapi).

Issue a client-credentials access token (scope=olifyapi).

POST
/directory/connect/token

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

TokenResponse

application/json

curl -X POST "https://example.com/directory/connect/token" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'grant_type=client_credentials&client_id=string&client_secret=pa%24%24word&scope=olifyapi'
{  "access_token": "string",  "token_type": "Bearer",  "expires_in": 0,  "scope": "string"}