Skip to main content
POST
Create turn

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

application/json
type
enum<string>
required

Identifies a turn that sends a scripted user message.

Available options:
user
testID
string
required

The ID of the test this turn belongs to.

payload
object
required

Response

201 - application/json

Creates one turn on the test named in the body and returns it with its assigned id. Where the turn sits in the conversation is held by the test's turnOrder, not by the turn.

turn
object
required