Add message variant
POST
Add message variant

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

messageID
string
required

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

Body

text
object
required

Message text shown to the end user. Limited markdown: bold, _italic_, <u>underline</u>, ~~strikethrough~~, [label](url). {variable_name} inserts a variable or entity, {variable_name.path} a field of a variable. Escape a literal { or \ with a backslash. A name matching neither is stored as literal text and reported in unresolvedReferences; secrets are not available here.

delay
integer

Milliseconds to wait before this variant is sent.

condition
object

Response

201 - application/json

Returns the new variant with its ID, and unresolvedReferences for any variable or reference in its text that did not resolve.

variant
object
required
unresolvedReferences
object[]

References this write kept as literal text instead of binding, each with the reason. The write still succeeded.

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.