Get Company Pending Action Counts
On this page
GraphQL endpoint: /company
Returns how many items are waiting on the current company's response: connection requests received from people and from other companies, form submission requests, and documents received over a message channel awaiting confirmation.
Every kind is always present and always an integer — a kind with nothing waiting is 0, never null or absent.
Each count resolves independently, so selecting a subset of the fields runs only those counts.
Query
query {
pendingActionCounts {
peopleConnectionRequests
companyConnectionRequests
formRequests
pendingDocuments
}
}
Variables
{}
Response
{
"data": {
"pendingActionCounts": {
"companyConnectionRequests": 3,
"formRequests": 1,
"pendingDocuments": 1,
"peopleConnectionRequests": 2
}
}
}