---
title: "Renew Browser Session"
method: POST
path: "/account/session/renew"
tags: ["account"]
---

# Renew Browser Session

`POST /account/session/renew`

## Request

- Base URL: `https://api.beatra.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.beatra.ai/account/session/renew`
- Auth: none declared

Extend a web session that is in use: a fresh token for the same sign-in, as the session cookie.

The console middleware calls with the browser's token as Bearer (and the visitor's forwarded host, so the cookie
domain is the visitor's) and relays the Set-Cookie; the H5 calls with its cookie. A link session, or a token issued
under 12 hours ago, is left as it is. Renewing is never a sign-in: `sit` and `auth_time` are copied, so neither the
desktop disconnect nor the 90-day cap can be stretched by it. At the cap the end stays where it is and only the
issue time moves, so the page stops asking for another 12 hours.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- SessionRenewResponse
  - `renewed` boolean, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-30** `4929accfa397`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/beatra/apis/agent-service-api/changes/account/session/renew/post.md)

---

[API](https://skmtc.dev/beatra/apis/agent-service-api.md) - [All operations](https://skmtc.dev/beatra/apis/agent-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/beatra/apis/agent-service-api/revisions/54a093c28eee?raw)
