Skip to main content
POST
Import licensed stock music into the audio library.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Body

application/json
companyId
string
required
stockAudioId
string
required

ID returned by stock music search

Response

200 - application/json

Successful response

Audio creation response

audioId
string

Created audio ID

audioUrl
string

Permanent public audio URL

duration
number

Measured audio duration in seconds

model
string

Model used for generation

creditsCharged
number

Credits charged for this generation

format
string

Audio format

msg
string

Success message