Skip to content
Athena User Guide
Esc
↑↓navigate↵open⌘Jpreview

List the announcements

GET/api/admin/announcements
Authorization
AuthorizationBearer token · headerrequired
Responses
200

Success

Array of object
idstringrequired
titlestringrequired
bodyHtmlstringrequired
isPinnedbooleanrequired
createdAtstring<date-time>required
updatedAtstring<date-time>required
401

Unauthorized

errorstringrequired
500

Unhandled server error

errorstringrequired
Try it
Server
Authorization
Request
curl -X GET '/api/admin/announcements' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
[
  {
    "id": "string",
    "title": "string",
    "bodyHtml": "string",
    "isPinned": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
]