Skip to main content

Initialize Embed Session

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

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

Body

application/json
tokenstringrequired#
context_variablesobject · null#
Show child attributes

Responses

application/json
Successful Response
session_tokenstringrequired#
workflow_run_idintegerrequired#
configobjectrequired#
widget_typestring#

Default: "voice"

chat_sessionobject · null#
Show child attributes