Create block
POST
Create block

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

workflowID
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

name
string
required
color
string
placement
object

Place the new block to the right of this block. Without it, the block goes next to the block of from.stepID, or right of the right-most block.

from
object

Also link this port to the new block in the same call, with the same checks as voiceflow_workflow.link.

steps
object[]
required

Response

201 - application/json

Returns a message, the new block with its steps, a map from each key you sent to the ID the server created, and any unresolved references. When a link was replaced, replacedLink names the block the port led to before.

message
string
required
block
object
required
ids
object
required

Every key in the request, mapped to the ID the server created.

unresolvedReferences
object[]

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

Present when from already led to another block: the link this call replaced.

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