For the complete documentation index, see llms.txt. This page is also available as Markdown.

Obtain an access token

Authenticate using HTTP Basic with the Qiro-issued client ID and client secret. Access tokens are short-lived and must not be sent to the SDK as a long-lived secret.

post
Authorizations
AuthorizationstringRequired

Qiro-issued OAuth client ID and client secret.

Body
grant_typeconst: client_credentialsRequired
Responses
200

A short-lived partner access token.

application/json
post/oauth/token
POST /oauth/token HTTP/1.1
Authorization: Basic username:password
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 35

"grant_type='client_credentials'"
{
  "access_token": "example-access-token",
  "token_type": "Bearer",
  "expires_in": 900,
  "scope": "facilities:read drawdowns:read drawdowns:write repayments:read repayments:write"
}

Last updated