Release Notes
Version 1.0.7 (2025-06-05)
Improvements
Enhanced
/players/list
endpoint with additional player information:Added
pitch_time
field to show the player's pitch time configurationAdded
duration
field to display the associated video's durationMaintains backward compatibility with existing implementations
Example Response
Version 1.0.6 (2025-05-30)
New Features
Added new
/custom_metrics/{player_id}/list
endpoint that provides a list of all custom metrics for a specific player:Returns custom metric information including ID, name, time, and sequential number
Allows tracking specific video time points for retention analysis
Enables calculation of user engagement percentages at specific video timestamps
Example Response
Understanding Custom Metrics and User Engagement
The custom metrics endpoint works in conjunction with the /times/user_engagement
endpoint to help calculate retention rates at specific video timestamps. Here's how to use them together:
First, list your custom metrics for important video timestamps using the
/custom_metrics/{player_id}/list
endpointThen, use the
/times/user_engagement
endpoint to get the number of users at each timestamp by providing:player_id
: The ID of your playervideo_duration
: Total duration of the video in secondsstart_date
andend_date
: The period you want to analyzetimezone
: Your preferred timezone for date filtering
Example request to /times/user_engagement
:
The user engagement endpoint will return data showing how many users reached each second of the video
You can then calculate retention by comparing the number of users at each custom metric timestamp against the total number of users
For example, if you have:
Total users: 100
Users at 30 seconds (First Key Point): 80
Users at 60 seconds (Second Key Point): 50
The retention rates would be:
First Key Point: 80% (80/100)
Second Key Point: 50% (50/100)
This combination allows you to:
Track user engagement at specific, meaningful points in your video
Calculate retention rates for custom-defined milestones
Analyze how many users are reaching your key video moments
Make data-driven decisions about video content and length
Version 1.0.5 (2025-05-28)
New Features
Added new
/players/list
endpoint that provides a list of all players belonging to the authenticated user's company:Returns basic player information including ID, name, and creation date
Automatically filters players based on the authenticated user's company
Supports JSON response format
Example Response
Version 1.0.4 (2025-05-27)
New Features
Added new
/events/leaderboard
endpoint that provides player rankings based on video engagement metrics:Supports multiple leaderboards with different player limits in a single request
Allows filtering by event types (started, finished, viewed, clicked, paused)
Includes metrics for total plays, unique plays by session, and unique plays by device
Supports date range filtering with optional end date
Example Request
Example Response
Version 1.0.3 (2025-05-15)
Improvements
Improved performance on the following endpoints:
/events/total_by_company_day
Detailed explanation
Sometimes when performing a request against the endpoint users were reaching out of resource without the request actually being that heavy, this was due to the way the endpoint was aggregating data, requests should be normalized and use the proper amount of resource.
Version 1.0.2 (2025-05-15)
Improvements
Enhanced error handling for exceptions when the request is using more resources than it's allowed based on the company plan:
Added explicit handling for
AUTHENTICATION_FAILED
Added explicit handling for
MEMORY_LIMIT_EXCEEDED
Examples of the Error Responses for 401 - Non Authorized
When a company doesn't have access to the API:
When a query exceeds the resource limits for the company plan tier:
Version 1.0.1 (2025-05-15)
Bug Fixes
Fixed timezone handling in the
/sessions/stats_by_field_by_day
endpoint to ensure consistent date reporting across different timezones. This affects how dates are calculated in the following metrics:Session statistics by day
Conversion rates
Event timestamps
Date-based aggregations
Example of the Fix
Before this fix, when using timezone "America/Sao_Paulo" (GMT-3), events that occurred on the same day could be split across two different dates due to timezone conversion issues. For example:
Now, all events from the same day are properly grouped together, regardless of the timezone specified in the request:
Note: This version includes fixes and improvements to existing functionality without introducing new features or breaking changes.
Last updated