Skip to main content

Post Public Chat Message

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

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
textstringrequired#

Length: 1–4000

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