v51

latestOpenAPI 3.1.0BSLraw.githubusercontent.com2026-08-01285574.9 KB
kamu

Authorization of a device

post/platform/token/device/authorization

Response

device_codestring required

REQUIRED. The device verification code.

expires_ininteger required

REQUIRED. The lifetime in seconds of the "device_code" and "user_code".

intervalinteger nullable

OPTIONAL. The minimum amount of time in seconds that the client SHOULD wait between polling requests to the token endpoint. If no value is provided, clients MUST use 5 as the default.

user_codestring required

REQUIRED. The end-user verification code.

verification_uristring required

REQUIRED. The end-user verification URI on the authorization server. The URI should be short and easy to remember as end users will be asked to manually type it into their user agent.

verification_uri_completestring nullable

OPTIONAL. A verification URI that includes the "user_code" (or other information with the same function as the "user_code"), which is designed for non-textual transmission.

Example response

{
  "expires_in": 300,
  "interval": 5
}