Notifications are displayed under the bell icon button, next to a member's avatar. When the bell is red, it means the member has unread notifications.
Get information about an notification
API Call
/GET /1/notifications/55411859be21b8ad7dcd4c78?board=false&board_fields=name&card=false
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.getNotification({ board: false, boardFields: "name", card: false });
Get a specific property of an notification
API Call
/GET /1/notifications/55411859be21b8ad7dcd4c78/date
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.getFieldValue("date");
Get the board a notification is associated with
API Call
/GET /1/notifications/55411859be21b8ad7dcd4c78/board
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.board()
.getBoard();
Get the card a notification is associated with
API Call
/GET /1/notifications/55411859be21b8ad7dcd4c78/card
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.card()
.getCard();
Get the list a notification is associated with
API Call
/GET /1/notifications/55411859be21b8ad7dcd4c78/list
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.list()
.getList();
Get the member (not the creator) a notification is about
API Call
/GET /1/notifications/55411859be21b8ad7dcd4c78/member?fields=all
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.member()
.getMember({ fields: "all" });
Get the member who created the notification
API Call
/GET /1/notifications/55411859be21b8ad7dcd4c78/memberCreator?fields=all
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.memberCreator()
.getMember({ fields: "all" });
Get the organization a notification is associated with
API Call
/GET /1/notifications/55411859be21b8ad7dcd4c78/organization?fields=all
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.organization()
.getOrganizations{ fields: "all" });
Update the read status of a notification
API Call
/PUT /1/notifications/55411859be21b8ad7dcd4c78?unread=true
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.updateNotification({ unread: true });
Update the read status of a notification
API Call
/PUT /1/notifications/55411859be21b8ad7dcd4c78/unread?value=true
Trello for Wolves
const response = await trello
.notifications("55411859be21b8ad7dcd4c78")
.updateUnreadStatus(true);
Mark all notifications as read
API Call
/POST /1/notifications/all/read
Trello for Wolves
const response = await trello.notifications().markAllAsRead();