Skip to main content

Get flow events catalog

Enterprise Only
This API is available exclusively in Countly Enterprise.

Endpoint

/o/flows?method=events

Overview

Returns internal and custom event lists used in flow setup.

Authentication

Countly API supports three authentication methods:

  1. API key query parameter: api_key=YOUR_API_KEY
  2. Auth token query parameter: auth_token=YOUR_AUTH_TOKEN
  3. Auth token header: countly-token: YOUR_AUTH_TOKEN

Permissions

Requires flows Read permission.

Request Parameters

ParameterTypeRequiredDescription
methodStringYesMust be events.
app_idStringYesTarget app ID.
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Configuration Impact

SettingDefaultAffectsUser-visible impact
flows.*Flows feature defaultsFlows analytics query behavior and result shaping.Changes to flows settings can affect returned paths, aggregation behavior, and limits.

Response

Success Response

{
"internal": ["[CLY]_session", "[CLY]_view", "[CLY]_view_update"],
"custom": ["signup", "purchase"]
}

Response Fields

FieldTypeDescription
internalArrayInternal drill events list.
customArrayApp custom event keys excluding internal events.

Error Responses

This endpoint does not define a dedicated structured error payload; error output can vary by failure path.

Behavior/Processing

  • Loads app event list from countly.events.
  • Builds internal from plugins.internalDrillEvents and appends [CLY]_view_update.
  • Removes internal events from custom event list before returning.

Database Collections

CollectionUsed forData touched by this endpoint
countly.eventsEvent catalog and schemaStores app event list/map/segment schema read or updated by this endpoint.

Examples

/o/flows?
method=events&
app_id=64f5c0d8f4f7ac0012ab3456


Last Updated

2026-02-16