BevylDevelopers

Preview background music

POST
/api/partner/v1/background-music/preview

Returns a short-lived MP3 URL to preview a track.

Authorization

partnerApiKey
headerAuthorizationBearer <token>

Send as Authorization: Bearer bvl_….

Request Body

application/json
  1. body
workspaceId*string

Your ID for the customer workspace.

Length1 <= length
trackId*string

Music track from listBackgroundMusic.

Length1 <= length <= 120

Response Body

Success.

application/json
  1. response
ok*boolean
previewUrl*string
Formaturi
expiresAt*|null
curl -X POST 'https://www.bevyl.ai/api/partner/v1/background-music/preview' \  -H 'Content-Type: application/json' \  -d '{  "workspaceId": "customer-123",  "trackId": "string"}'
{  "ok": true,  "previewUrl": "http://example.com",  "expiresAt": "2019-08-24T14:15:22Z"}