v1

latestOpenAPI 3.1.02026-07-26751285.0 KB
messaging

Renew a session

Manually renew a session to extend its expiration time. This is useful even if auto-renewal is disabled.

post/api/messaging/sessions/{sessionId}/renew

Path parameters

sessionIdstring required

ID of the session to renew

Response

Session renewed successfully

sessionIdstring

Unique session identifier

agentIdstring uuid

UUID of the agent

userIdstring uuid

UUID of the user

createdAtstring date-time

Session creation timestamp

lastActivitystring date-time

Last activity timestamp

metadataobject

Session metadata

expiresAtstring date-time

When the session will expire

renewalCountinteger

Number of times the session has been renewed

timeRemaininginteger

Milliseconds until session expiration

isNearExpirationboolean

Whether the session is within the warning threshold