Announcements

Get an announcement

GET
https://api.tunio.ai/v1/announcements/{announcement_id}

Get a single announcement by UUID

路径参数

名称类型说明
announcement_idRequiredstringAnnouncement ID

响应

名称类型说明
announcementobject
The announcement.
announcement_idstring
Announcement ID.
audio_urlstring
Public CDN link to listen to the announcement: the finished mix, or the voice alone while there is no mix yet. Absent until the voice (or the converted upload) exists.
background_uuidstring
Background music under the voice (background_id from GET /v1/announcements/backgrounds), null for none.
background_volumenumber
Volume of the background music, 0..1.
created_atstring
When the announcement was created.
durationinteger
Length of the air-ready audio in seconds.
end_datestring
End of the last day the announcement may play, null for no limit.
has_audio_warningboolean
Whether the alert tone plays before and after the announcement.
kindstring
tts for announcements Tunio voices from a script, uploaded for client-supplied audio files.
messagestring
Text the voice reads; empty for uploaded announcements.
mix_uuidstring
ID of the air-ready audio (voice mixed with the background and padding).
model_idstring
Voice the text is read with; empty for uploaded announcements.
speednumber
Tempo multiplier of the voice.
start_datestring
First day the announcement may play, null for no limit.
statestring
Processing state. TTS announcements go voice_pending → voice_generating → mix_pending → mix_generating → completed; uploaded ones go upload_pending → upload_processing → completed. error means generation or conversion failed. Interval schedules play only a completed announcement.
titlestring
Announcement title.
tts_audio_uuidstring
ID of the generated voice audio, null until the voice is generated.
tts_durationinteger
Length of the voice alone in seconds.
successboolean
Always true.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.