The Cohort API lets you programmatically query and export Cohort analytics.
GET/analytics/{job_id}
This endpoint provisions querying and exporting Cohort analytics.
Unique identifier for the Branch app of the requested data. Either appId or organization_id is required.
Unique identifier for the job. Obtained from the POST Export Cohort analytics API.
Format of the returned data: json or csv.
csvjsonStatus of aggregate export. Returns 400 and 429 on failure — see the response panel for the error shape.
POST/analytics
This endpoint provisions querying and exporting Cohort analytics.
Unique identifier for the Branch app of the requested data. Either appId or organization_id is required.
A string value representing the cohort type.
install_cohortreengagement_cohortThe end of the interval time range represented as an ISO-8601 complete date.
Number of time units since the cohort event to return to the user.
The cohort measures to return. The limit is 3. See Measure for the complete list.
OPENusersRetentionARPPULTVARPUrevenuePURCHASEADD_TO_CARTADD_TO_WISHLISTVIEW_CARTINITIATE_PURCHASEThe start of the interval time range represented as an ISO-8601 complete date.
If true, sum across bands so that a given band value is the sum of all preceding values plus the band value.
An array representing the dimensions to group by. The limit is 11. See Dimensions for the complete list.
install_activity_attributedinstall_activity_event_nameinstall_activity_touch_typeinstall_activity_touch_data_tilde_campaign_idinstall_activity_touch_data_tilde_campaigninstall_activity_touch_data_tilde_channelinstall_activity_touch_data_tilde_featureinstall_activity_touch_data_tilde_stageinstall_activity_touch_data_tilde_tagsinstall_activity_touch_data_tilde_advertising_partner_nameinstall_activity_touch_data_dollar_3pinstall_activity_touch_data_tilde_secondary_publisherStatus of aggregate export. Returns 400 and 429 on failure — see the response panel for the error shape.