Skip to main content

session.terminate

voice → application

Terminate the real-time voice session after replying.

This is a terminal operation: after a successful response, the session closes.

Parameters​

FieldTypePresenceConstraintsDescription
reasonstringrequiredlength ≥ 1Reason the session is ending.

Result​

FieldTypePresenceConstraintsDescription
(value)objectrequired——

Example: canonical​

Parameters​

{
"reason": "completed"
}

Result​

{}