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.

路径参数

名称类型说明
announcement_idRequiredstringAnnouncement ID

响应

名称类型说明
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.
名称类型说明
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.