Skip to main content
POST
/
background_tracks
Create
curl --request POST \
  --url https://api.beyondwords.io/v1/background_tracks \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "project": {
    "id": 1
  },
  "name": "Test track 1",
  "media": {
    "url": "https://example.com/transcoded.mp3"
  }
}
'
{
  "id": 1,
  "name": "Test track 1",
  "volume": 100,
  "created": "2023-01-01 00:00:00 UTC",
  "updated": "2023-01-01 00:00:05 UTC"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
name
string
volume
integer
project
object
media
object

Response

201 - application/json

successful

id
integer

Unique identifier for the object

name
string

The background track name

volume
integer

Percent volume of the track

project
object
media
object
created
string

Time at which the object was created (ISO 8601)

updated
string

Time at which the object was updated (ISO 8601)