Oauth refresh token

Use this endpoint to refresh an access_token using the refresh_token you got during authorization.

Body Params

The standard request body for a GET /refresh_token.

string
required
length ≥ 0

Denotes the flow you are using. To refresh a token, use refresh_token.

string
required
length ≥ 1

The client_id given to Bright Energy.

string
length ≥ 1

The client_secret given to Bright Energy.

string
required
length ≥ 0

The refresh_token from the POST /authorize endpoint.

string
length ≥ 0

A space-delimited list of requested scope permissions. If not sent, the original scopes will be used; otherwise you can request a reduced set of scopes. Note that this must be URL encoded.

Responses

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json