Juice ReelJuice Reel

OAuth 2.0

Refresh tokens

Use a refresh token once to receive a new access token and a replacement refresh token.

POST/oauth2/token
AuthenticationHTTP Basic: client ID and client secret
Required scopeNot applicable
SECURITY WARNING: Call this endpoint only from your backend. Never call it from browser or mobile frontend code. Your client secret must never be included in frontend application bundles, shipped to users, or exposed to clients. Reusing a consumed refresh token revokes the token family and associated grant.

Request query parameters

FieldTypeDescription
grant_typerequiredstringMust be refresh_token.
refresh_tokenrequiredstringThe current unused refresh token.

Response

200 · application/json
FieldTypeDescription
access_tokenstringNew one-hour bearer token.
refresh_tokenstringReplacement refresh token. Discard the token used for this request.
token_typestringBearer.
expires_inintegerAccess-token lifetime in seconds.
scopestringScopes retained by the authorization grant.
Refresh tokens | Juice Reel API Docs