Skip to main content
PATCH
/
v1alpha1
/
project
/
{projectID}
/
environment
/
traffic
Update traffic split
curl --request PATCH \
  --url https://realtime-api.voiceflow.com/v1alpha1/project/{projectID}/environment/traffic \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{}'
{
  "data": {}
}

Authorizations

authorization
string
header
required

Voiceflow API key

Path Parameters

projectID
string
required

ID of the project that owns the environments.

Body

application/json
{key}
number
Required range: 0 <= x <= 100

Response

200 - application/json

The updated traffic split configuration, keyed by environment ID.

data
object
required