v1

latestOpenAPI 3.1.02026-07-26751285.0 KB
messaging

Update session timeout configuration

Update the timeout configuration for an active session

patch/api/messaging/sessions/{sessionId}/timeout

Path parameters

sessionIdstring required

ID of the session

Request body

timeoutMinutesinteger

New timeout in minutes

autoRenewboolean

Whether to enable auto-renewal

maxDurationMinutesinteger

Maximum total session duration

warningThresholdMinutesinteger

Minutes before expiration to trigger warning

Response

Timeout configuration updated 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