Skip to content

client-token

Request

Generate an access token for app client

Path
tenant_tagstringrequired

Tenant Tag

Bodyapplication/jsonrequired

ClientToken request params

client_idstringrequired
client_secretstringrequired
scopestring
curl -i -X POST \
  'https://ledger.docs.insly.com/api/v1/identifier/token/client/{tenant_tag}' \
  -H 'Content-Type: application/json' \
  -d '{
    "client_id": "string",
    "client_secret": "string",
    "scope": "string"
  }'

Responses

OK

Bodyapplication/json
access_tokenstring
expires_ininteger
token_typestring
Response
{ "access_token": "string", "expires_in": 0, "token_type": "string" }