Skip to content
The Yoto Developer Challenge is on, with $10,000 to win!

Exchange tokens

Exchange authorization code or refresh token for access tokens

Responses

Successful token response application/json
access_tokenstringrequired
token_typestringrequired
― Bearer
expires_inintegerrequired
Expiration time in seconds
refresh_tokenstring
scopestring
Space-separated list of granted scopes
id_tokenstring
JWT containing user claims
expires_atinteger
Timestamp when the token expires
POST
/oauth/token
Server URL: https://api.yotoplay.com
Authorization (bearerAuth)
Request Body
Terminal window
curl "https://api.yotoplay.com/oauth/token"
--header "Authorization: Bearer [YOUR_TOKEN]"