v1

latestOpenAPI 3.0.02026-07-24161215397.4 KB
Token generation

Generate an OAuth 2.0 token

This request allows you to generate an OAuth 2.0 token using client_id and client_secret, for more information on the operation, please visit our <a href="https://developer.officernd.com/docs/authentication">guide</a>.

post/oauth/token

Response

Token was generated successfully.

tokenstring

The token which can be used for authentication.

token_typestring

The token type.

expires_instring

The remaining time until the token expires in seconds. The token always expires after an hour.

scopestring

The token scope.

Example response

{
  "token": "594db43da0955d9d51604973ad494fc819d40870",
  "token_type": "Bearer",
  "expires_in": 3599,
  "scope": "officernd.api.read officernd.api.write"
}