Authorization

Create access token

Exchanges an authorization code or refresh token for an access token

post/oauth/token

Request

  • Base URL
    https://light.inc (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Request body application/x-www-form-urlencoded

client_idstring
client_secretstring
grant_typestring
codestring
redirect_uristring
refresh_tokenstring

Response

default response

access_tokenstring
expires_ininteger
token_typestring
refresh_tokenstring

Changes

No recorded changes to this operation across all 1 revision of this API.