Announcements
Get an announcement
GET
https://api.tunio.ai/ v1/ announcements/ {announcement_id}Get a single announcement by UUID
Path parameters
| Name | Type | Description |
|---|---|---|
| announcement_idRequired | string | Announcement ID |
Responses
| Name | Type | Description |
|---|---|---|
| announcement | object | The announcement. |
| announcement_id | string | Announcement ID. |
| audio_url | string | 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_uuid | string | Background music under the voice (background_id from GET /v1/announcements/backgrounds), null for none. |
| background_volume | number | Volume of the background music, 0..1. |
| created_at | string | When the announcement was created. |
| duration | integer | Length of the air-ready audio in seconds. |
| end_date | string | End of the last day the announcement may play, null for no limit. |
| has_audio_warning | boolean | Whether the alert tone plays before and after the announcement. |
| kind | string | tts for announcements Tunio voices from a script, uploaded for client-supplied audio files. |
| message | string | Text the voice reads; empty for uploaded announcements. |
| mix_uuid | string | ID of the air-ready audio (voice mixed with the background and padding). |
| model_id | string | Voice the text is read with; empty for uploaded announcements. |
| speed | number | Tempo multiplier of the voice. |
| start_date | string | First day the announcement may play, null for no limit. |
| state | string | 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. |
| title | string | Announcement title. |
| tts_audio_uuid | string | ID of the generated voice audio, null until the voice is generated. |
| tts_duration | integer | Length of the voice alone in seconds. |
| success | boolean | Always true. |
| 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. |