Announcements

Create a new announcement

POST
https://api.tunio.ai/v1/announcements

Create a new announcement for a stream

Request body

Announcement data

NameTypeDescription
end_datestring
EndDate limits the latest playback date.
has_audio_warningboolean
HasAudioWarning toggles an audible warning tone before playback.
messageRequiredstring
Message contains the announcement text or TTS script.
modelRequiredstring
Model is the UUID of the TTS model used for generation.
speednumber
Speed optionally customizes playback speed multiplier.
start_datestring
StartDate limits the earliest playback date.
titleRequiredstring
Title is the displayed announcement header.
Request example
01{
02 "end_date": "2024-12-31T23:59:59Z",
03 "has_audio_warning": false,
04 "message": "Today's weather will be sunny with temperatures reaching 25°C",
05 "model": "123e4567-e89b-12d3-a456-426614174000",
06 "speed": 1,
07 "start_date": "2024-01-15T14:30:00Z",
08 "title": "Daily Weather Update"
09}

Responses

NameTypeDescription
successboolean
Success signals the create finished successfully.
uuidstring
UUID is the created announcement identifier.
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.