Announcements
Update an announcement
PUT
https://api.tunio.ai/v1/announcements/{announcement_id}Update an existing announcement by UUID
Path parameters
| Name | Type | Description |
|---|---|---|
| announcement_idRequired | string | Announcement ID |
Request body
Updated announcement data
| Name | Type | Description |
|---|---|---|
| end_date | string | EndDate adjusts when the announcement expires. |
| has_audio_warning | boolean | HasAudioWarning toggles start warning tone. |
| message | string | Message updates the body text or script (max 500 characters). |
| start_date | string | StartDate adjusts when the announcement becomes active. |
| title | string | Title allows updating the announcement headline (max 500 characters). |
Request example
01{02 "end_date": "2024-12-31T23:59:59Z",03 "has_audio_warning": true,04 "message": "Updated weather message",05 "start_date": "2024-01-15T14:30:00Z",06 "title": "Updated Weather Update"07}
Responses
| Name | Type | Description |
|---|---|---|
| success | boolean | Success indicates the request completed without errors. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |