whatsAppMessageLogCount
Requires permission settings:integration:read.
Counts the organization's WhatsApp message log entries, across every provider, so a page of the log can show its total. Honors the kind-of-message filter; ignores limit and offset. Requires permission to read integrations.
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:
- GraphQL
- cURL
query WhatsAppMessageLogCount {
whatsAppMessageLogCount
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query WhatsAppMessageLogCount {\n whatsAppMessageLogCount\n}"
}
EOF
Response:
{
"data": {
"whatsAppMessageLogCount": 0
}
}
whatsAppMessageLogCount(
filter: WhatsAppMessageLogFilterInput
): Int!
Arguments
whatsAppMessageLogCount.filter ● WhatsAppMessageLogFilterInput input
Optional filter: the kind of message to count.
Type
Int scalar
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.