Skip to main content

Create Or Update Embed Token

POST /api/v1/workflow/{workflow_id}/embed-token — request parameters and responses from the Menace Voice API schema.
2 min read
post/api/v1/workflow/{workflow_id}/embed-token
Request example
Response
post/api/v1/workflow/{workflow_id}/embed-token

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

Path parameters

workflow_idintegerrequired#

Headers

authorizationstring · null#
X-API-Keystring · null#

Body

application/json
allowed_domainsstring[] · null#
Show child attributes
settingsobject · null#
Show child attributes
usage_limitinteger · null#
Show child attributes
expires_in_daysinteger · null#

Default: 30

Show child attributes

Responses

application/json
Successful Response
idintegerrequired#
tokenstringrequired#
allowed_domainsstring[] · nullrequired#
Show child attributes
settingsobject · nullrequired#
Show child attributes
is_activebooleanrequired#
usage_countintegerrequired#
usage_limitinteger · nullrequired#
Show child attributes
expires_atstring · nullrequired#
Show child attributes
created_atstringrequired#
embed_scriptstringrequired#