Skip to main content
GET
/
notifications
/
:notificationId
Get Specific Notification
curl --request GET \
  --url https://www.api.baselink.tech/notifications/:notificationId \
  --header 'bearer: <api-key>'
{
  "notification": {},
  "notification.id": "<string>",
  "notification.userId": "<string>",
  "notification.type": "<string>",
  "notification.title": "<string>",
  "notification.message": "<string>",
  "notification.read": 123,
  "notification.expiresAt": 123,
  "notification.metadata": {},
  "notification.teamId": "<string>",
  "notification.commitId": "<string>",
  "notification.repository": "<string>",
  "notification.repositoryId": "<string>",
  "notification.createdAt": "<string>",
  "notification.updatedAt": "<string>"
}
Retrieve detailed information about a specific notification. This endpoint is restricted to admin users only.
notification
object
The notification object.
notification.id
string
The unique identifier of the notification.
notification.userId
string
The ID of the user who received the notification.
notification.type
string
The type of notification.
notification.title
string
The title of the notification.
notification.message
string
The message content of the notification.
notification.read
number
Whether the notification has been read (1) or not (0).
notification.expiresAt
number
The expiration timestamp of the notification.
notification.metadata
object
Additional metadata for the notification.
notification.teamId
string
The team ID associated with the notification.
notification.commitId
string
The commit ID associated with the notification.
notification.repository
string
The repository name associated with the notification.
notification.repositoryId
string
The repository ID associated with the notification.
notification.createdAt
string
The creation timestamp of the notification.
notification.updatedAt
string
The last update timestamp of the notification.