Skip to main content

bidUnreadCounts

Requires permission biddesk:bid:read.

Your unread messages per thread of one bid, most recently active first; threads with none are left out. Only the bid's members can use its room. Requires Bid Desk and permission to read bids.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query BidUnreadCounts($bidId: ID!) {
bidUnreadCounts(bidId: $bidId) {
anchorId
anchorType
threadId
unread
}
}

Variables:

{
"bidId": "id"
}

Response:

{
"data": {
"bidUnreadCounts": [
{
"anchorId": "id",
"anchorType": "APPROVAL_STAGE",
"threadId": "id",
"unread": 0
}
]
}
}
bidUnreadCounts(
bidId: ID!
): [BidUnreadCount!]!

Arguments​

bidUnreadCounts.bidId ● ID! non-null scalar​

The bid.

Type​

BidUnreadCount object​

How many messages in one bid thread you have not read.