Your access token will expire 2 hours after it is issued. When this happens, your application can retrieve a new one by using the refresh_token
returned in the auth code exchange or prior token refresh. See Token Refresh for additional guidance.
Authorization
header using the Basic authentication scheme.To construct the value:client_id
and client_secret
with a single colon (:
).Basic
(with a trailing space) to the encoded string.Basic bXktY2xpZW50LWlkOm15LWNsaWVudC1zZWNyZXQ=
application/x-www-form-urlencoded
, matching the format of the request body.refresh_token
Bearer
.