Count users matching filters
POST/raw/users/count
Count users in the database matching filters. Counts are capped at minimum (10k) and maximum (1M). Requires RAW service. Credits: 1 per request.
Body Parameters
Returns
count: number
Number of matching records (may be capped or floored)
truncated: optional boolean
True if count was capped at maximum or floored at minimum
Count users matching filters
curl https://api.bountylab.io/v2/raw/users/count \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $BOUNTYLAB_API_KEY" \
-d '{
"filters": {
"field": "field",
"op": "Eq",
"value": "string"
}
}'{
"count": 0,
"truncated": true
}Returns Examples
{
"count": 0,
"truncated": true
}