Platform / Managed Users
Refresh managed user tokens
If managed user access token is expired then get a new one using this endpoint. Each access token is valid for 60 minutes and
each refresh token for 1 year. Make sure to store them later in your database, for example, by updating the User model to have calAccessToken
and calRefreshToken
columns.
POST
/
v2
/
oauth
/
{clientId}
/
refresh
Headers
x-cal-secret-key
string
requiredOAuth client secret key.
Path Parameters
clientId
string
requiredBody
application/json
refreshToken
string
requiredManaged user's refresh token.
Response
200 - application/json
status
enum<string>
requiredAvailable options:
success
, error
data
object
requiredWas this page helpful?