Skip to main content
PATCH
/
v1
/
workflows
/
{id}
/
tracks
/
{track_id}
curl -X PATCH https://api.lavendly.ai/v1/workflows/wf_xyz/tracks/tr_a1b2c3d4e5f6 \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer $LAVENDLY_API_KEY' \
  -d '{ "volume": 0.7, "ducking": true }'
id
string
required
Workflow id.
track_id
string
required
Track id.

Body, any subset

volume
number
0..2.
muted
boolean
ducking
boolean
startTime
number
Trim start, seconds.
duration
number
Trim duration, seconds.
subtitleStyle
string
off | tiktok | minimal | bold | …
Writes are applied to the source audio node’s data, never to a cached audioTracks array, so the canvas and the API stay in sync.
curl -X PATCH https://api.lavendly.ai/v1/workflows/wf_xyz/tracks/tr_a1b2c3d4e5f6 \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer $LAVENDLY_API_KEY' \
  -d '{ "volume": 0.7, "ducking": true }'