# Exchange a code for a token (/reference/api/apps/exchangeToken)

Returns an access token for an authorization code, a refresh token or an approved device code (RFC 6749 and RFC 8628). A refresh token can be spent once: the answer carries the next one.