/api/v1/client-api/metrics/retention/ Retrieve retention data
Retrieves the retention data to analyze the ability of a product to keep users engaged over time.
Rate limit: 2 requests per second.
Request body
Enter the date or time period for which you want to retrieve chart data
Enter the comparison date or time period
Filter by the app store where the purchase was made
Filter by the 2-letter country code where the purchase took place
Unique identifier of a product from the app store
Specify the subscription duration
The source integration for attribution
Indicates if the attribution is organic or non-organic
Marketing channel that led to the transaction
Marketing campaign that brought the transaction
Attribution ad group that brought the transaction
Attribution ad set that led to the transaction
Specific visual or text elements in an ad or campaign tracked to measure effectiveness
Specify the offer categories you want to retrieve data for
Specify the offer types you want to retrieve data for
Specify the specific offers you want to retrieve data for
Specify the time interval for aggregating analytics data
One of: "day", "week", "month", "quarter", "year"
Sets the basis for segmentation
Boolean indicating whether a trial was used
Specify the export file format
One of: "json", "csv"
Responses
Retention data retrieved successfully
Schema
Response containing retention data showing user engagement over time
Array of retention data points (can be empty for some retention types)
Display title for the retention metric
Internal name of the retention metric
Explanation of how retention is calculated (absolute vs relative values)
Type of retention value (absolute or relative)
Example
{
"data": [],
"title": "Subscription retention",
"metric_name": "Subscription retention",
"description": "Absolute value is the amount of users who entered the current step - subscribed for a trial or paid for a subscription. Relative is calculated as a percentage of these users among those who got a trial. So it starts with 100% for the trial step.",
"value_type": null
} Bad Request
Schema
Unauthorized
Schema
Rate limit exceeded. Maximum 2 requests per second per API key.