Skip to main content

Retrieves a list of notifications

GET <your-unleash-url>/api/admin/notifications

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

A user may get relevant notifications from the projects they are a member of

Request

Responses

notificationsSchema

Schema
  • Array [
  • id number required

    The id of this notification

  • message string required

    The actual notification message

  • link string required

    The link to change request or feature toggle the notification refers to

  • notificationType required

    Possible values: [change-request, toggle]

    The type of the notification used e.g. for the graphical hints

  • createdBy objectrequired
  • username string nullable

    The name of the user who triggered the notification

  • imageUrl string nullable

    The avatar url of the user who triggered the notification

  • createdAt date-time required

    The date and time when the notification was created

  • readAt date-time nullable required

    The date and time when the notification was read or marked as read, otherwise null

  • ]

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
curl / cURL
curl -L -X GET '<your-unleash-url>/api/admin/notifications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'