API: JSON structure of an access token

00001012921000 · Info · (manual) · #api #manual #reference #zettelstore

If the authentication process was successful, an access token with some additional data is returned. The same is true, if the access token was renewed. The response is structured as an JSON object, with the following named values:

access_tokenThe access token itself, as string value, which is a JSON Web Token (JWT, RFC 7915)
token_typeThe type of the token, always set to "Bearer", as described in RFC 6750
expires_inAn integer that gives a hint about the lifetime / endurance of the token, measured in seconds