Salesforce GraphQL API Count Query

Salesforce GraphQL API Count Query

To execute Salesforce GraphQL from PostMan client, please check the following:

Sample Query:

query ContactsCount {
  uiapi {
    aggregate {
      Contact {
        edges {
          node {
            aggregate {
              Id { count { value } }
            }
          }
        }
      }
    }
  }
}

Output:

Leave a Reply