Jingle Bundles
Add a jingle to a bundle
POST
https://api.tunio.ai/ v1/ jingle-bundles/ {bundle_id}/ itemsAdd a jingle of the caller's library (GET /v1/jingles, or the jingle_id of a completed generation request) to a bundle. A Tunio jingle market jingle already in another bundle can be added by its jingle_id from that bundle's items. Jingles longer than 60 seconds are refused. mode sets how the jingle goes on air: normal (between songs), overlay_intro (over the start of the next song) or overlay_segue (over the end of the current song).
Path parameters
| Name | Type | Description |
|---|---|---|
| bundle_idRequired | string | Bundle ID |
Request body
Jingle to add
| Name | Type | Description |
|---|---|---|
| jingle_id | string | Jingle to add, required: a jingle of the caller's library (GET /v1/jingles, or the jingle_id of a completed
generation request). A jingle from the Tunio jingle market (added to some bundle in the control panel) can be added
to another bundle by the jingle_id that bundle's items show for it. |
| mode | string | How the jingle goes on air: normal (default) plays it as a track of its own between songs; overlay_intro plays it
over the start of the next song, overlay_segue over the transition at the end of the current song. |
| title | string | Title of the jingle inside the bundle. Defaults to the jingle's own title. |
Request example
01{02 "jingle_id": "string",03 "mode": "normal",04 "title": "Tunio radio ident"05}
Responses
| Name | Type | Description |
|---|---|---|
| item | object | The added bundle item. |
| audio_url | string | CDN link to the jingle. |
| duration | integer | Length in seconds. |
| is_active | boolean | false for a jingle the rotation skips. |
| jingle_id | string | Jingle file ID (see GET /v1/jingles). A jingle from the Tunio jingle market, added in the control panel, is listed here but not by GET /v1/jingles. |
| mode | string | How the jingle goes on air: normal plays it as a track of its own between songs; overlay_intro plays it over the
start of the next song, overlay_segue over the transition at the end of the current song (the music ducks under it). |
| title | string | Jingle title inside the bundle. |
| success | boolean | Always true. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code. |
| success | boolean | Always false. |
| value | integer | Maximum jingle length in seconds (60), set with file_duration_exceeds_limit. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |