Add workflow blocks
POST
Add workflow blocks

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

blocks
object[]
required

The new blocks. A step's links and a branch's to name a block key from this call or an existing block ID.

from
object[]

Existing ports to link to new blocks in the same call, with the same checks as voiceflow_workflow.link.

placement
object

Place the new blocks to the right of this block. Without it, they go right of the block of the first from step, or right of the right-most block.

Response

201 - application/json

Returns a message, the new blocks, a map from each request key to the ID created for it, the existing ports that were linked with what each led to before, and any references that could not be resolved.

message
string
required

What was written.

blocks
object[]
required

The new blocks, in the order you sent them.

ids
object
required

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

linked
object[]
required

The from ports, each with the block it led to before.

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.