Skip to main content

End Public Chat Session

POST /api/v1/public/embed/chat/{session_token}/end — request parameters and responses from the Menace Voice API schema.
2 min read
post/api/v1/public/embed/chat/{session_token}/end
Request example
Response
post/api/v1/public/embed/chat/{session_token}/end

See authentication for workspace API access. Public embed and artifact endpoints use their documented session or access tokens.

Path parameters

session_tokenstringrequired#

Body

application/json
expected_revisioninteger · null#
Show child attributes

Responses

application/json
Successful Response
revisionintegerrequired#
statestringrequired#
is_completedbooleanrequired#
turnsobject[]required#
Show child attributes
idstringrequired#
statusstringrequired#
user_messageobject · null#
Show child attributes
assistant_messageobject · null#
Show child attributes