FruxonDocs
ApiEmbed widget

Re-mints the session token with a fresh TTL.

Called by the client before the short-lived session token expires, to keep a long-running conversation alive without re-running init. Rejects a closed session (404) and a token that doesn't match the route session (403).

POST
/v1/embed/sessions/{session}:refresh

Path Parameters

session*string

The session id to refresh.

Response Body

curl -X POST "https://api.fruxon.com/v1/embed/sessions/string:refresh"
{
  "sessionToken": "string",
  "expiresInSeconds": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}