Analytics
Count events
POST
header
AuthorizationBearer <token>Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.
project_id*stringThe project this request addresses. It must belong to the token's organization, or be the project of a project-scoped credential.
application/json- body
event_name?|nulluser_id?|nullstart_date?string|nullend_date?string|nullfilter_groups?array<>|nullSuccess.
curl -X POST 'https://api.leapio.com/v1/projects/string/analytics/count-events' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
Empty