About this endpoint
What it does
Trims an uploaded audio file between the specified start and end times, and returns the trimmed audio as binary content.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | File | Yes | The audio file. Binary upload. Up to 30 MB. |
| startSeconds | Number | Yes | Start time in seconds. |
| endSeconds | Number | Yes | End time in seconds. |
Response
Returns a binary audio file containing the trimmed result, not a JSON object.
| Parameter | Type | Description |
|---|---|---|
| binary | String | The response body is binary data containing the trimmed audio. |



