Announcement Schedules

Create an announcement schedule

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

Create a new schedule for an announcement

Request body

Schedule data

NameTypeDescription
announcementRequiredstring
Announcement is the UUID of the announcement to schedule.
intervalRequiredinteger
Interval is the repeat period in minutes.
streamRequiredstring
Stream is the UUID of the stream that will play the announcement.
Request example
01{
02 "announcement": "123e4567-e89b-12d3-a456-426614174000",
03 "interval": 60,
04 "stream": "456e7890-e89b-12d3-a456-426614174000"
05}

Responses

NameTypeDescription
scheduleobject
Schedule returns the created schedule details.
announcementobject
Announcement contains announcement meta referenced by the schedule.
intervalinteger
Interval is the repeat period in minutes.
streamobject
Stream describes the stream where announcement is played.
uuidstring
UUID uniquely identifies the schedule entry.
successboolean
Success indicates the schedule was created.
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.