Refresh a browser session
Exchange a resume token for a fresh session pass. Call this from YOUR server when the browser reports its pass is about to expire — you decide whether the visitor is still entitled to the session. The resume token is never rotated: keep using the one POST /v1/sessions returned until it expires, then create a new session.
post/v1/sessions/refresh
Request
- Base URLhttps://api.runbear.io
- AuthHTTP bearer
Request body
Response
Default Response
Example response
{
"pass": {
"expiresInSeconds": 900
},
"resumeToken": {
"expiresInSeconds": 900
}
}Changes
No recorded changes to this operation across all 1 revision of this API.