Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Path Parameters

id
string<uuid>
required

ID of the track.

Example:

"3b9d2f6e-7a41-4c8e-9f05-1e6a2c4d8b70"

Body

application/json
name
string

New name, 1-100 characters. "Default" is reserved.

Required string length: 1 - 100
Example:

"Calm piano (short)"

track
string<uri>

New file: URL of an audio file already uploaded to Hamsa storage: mp3, wav or ogg, at most 5 minutes long. Links to other hosts are refused.

Example:

"https://d15zjcysdf8w17.cloudfront.net/on-hold-music/2026/11/02/hold-music.mp3"

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"Track updated successfully"

data
object