Create message
POST
Create message

Authorizations

Authorization
string
header
required

Voiceflow bearer token

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

variants
object[]
required

The variants, in stored order. They are alternatives: the runtime says one of them each time. The first variant cannot carry a condition.

Response

201 - application/json

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

message
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.