Jingle Bundles

Add a jingle to a bundle

POST
https://api.tunio.ai/v1/jingle-bundles/{bundle_id}/items

Add a jingle of the caller's library (GET /v1/jingles, or the jingle_id of a completed generation request) to a bundle. Jingles longer than 60 seconds are refused.

Path parameters

NameTypeDescription
bundle_idRequiredstringBundle ID

Request body

Jingle to add

NameTypeDescription
jingle_idstring
JingleID is a jingle of the caller's library (GET /v1/jingles, or jingle_id of a completed generation request). A market jingle can be added by its jingle_id too, as bundle items list it.
modestring
Mode is normal (default), overlay_intro or overlay_segue.
titlestring
Title overrides the jingle's title inside the bundle.
Request example
01{
02 "jingle_id": "6f1526a5-405e-4447-8dc4-f4077b3f0f3c",
03 "mode": "normal",
04 "title": "Tunio radio ident"
05}

Responses

NameTypeDescription
itemobject
-
audio_urlstring
AudioURL is the CDN link to the jingle.
durationinteger
Duration in seconds.
is_activeboolean
IsActive is false for a jingle the rotation skips.
jingle_idstring
JingleID is the jingle file (see GET /v1/jingles).
modestring
Mode is normal, overlay_intro or overlay_segue.
titlestring
Title is the jingle's title inside the bundle.
successboolean
-
NameTypeDescription
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
NameTypeDescription
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
NameTypeDescription
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
NameTypeDescription
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
NameTypeDescription
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
NameTypeDescription
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.