Announcements

Get announcement status

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

Get the current state of an announcement. completed means it is ready for air; error means generation or conversion failed. Once the voice is generated (or an upload is converted), audio_url links to the audio on the CDN: the finished mix, or the voice alone while there is no mix yet.

Path parameters

NameTypeDescription
announcement_idRequiredstringAnnouncement ID

Responses

NameTypeDescription
statusobject
Current state of 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.
statestring
Processing state; see state of the announcement object. completed and error are final.
successboolean
Always true.
NameTypeDescription
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
NameTypeDescription
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
NameTypeDescription
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
NameTypeDescription
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.