Oauth authorizeAsk AIpost https://{kitEnvironment}.{kitDomain}/{kitBasePath}/auth/authorizeUse this endpoint to exchange a client_id and client_secret for a token.Body ParamsThe standard request body for a POST /authorize.grant_typestringrequiredlength ≥ 0Denotes the flow you are using. To refresh a token, use refresh_token.client_idstringrequiredlength ≥ 1The client_id given to Bright Energy.client_secretstringrequiredlength ≥ 1The client_secret given to Bright Energy.codestringrequiredlength ≥ 0The Authorization Code received from the initial /authorize call.redirect_uristringlength ≥ 0This is required only if it was set at the GET /authorize endpoint. The values from /authorize must match the value you set at /oauth/token.Responses 200OK 400Bad Request 401ForbiddenUpdated 7 months ago