Parameters
1 query
Query parameters
· 1codestringRequiredCalendar code identifier.
Example
example_codeShows how long events actually are, broken down by event type. Critical for realistic slot planning and capacity estimation.
1 query
codestringRequiredCalendar code identifier.
example_code1 status code documented
overallAvgMinutesnumberRequiredOverall average duration across all events.
byTypeobject[]RequiredtypeIdnumberRequiredEvent type ID.
typeNamestringRequiredEvent type name.
avgMinutesnumberRequiredAverage duration in minutes.
eventCountnumberRequiredNumber of events of this type.
{
"overallAvgMinutes": 0,
"byType": [
{
"typeId": 0,
"typeName": "example_typeName",
"avgMinutes": 0,
"eventCount": 0
}
]
}GET /bff/calendar/calendar-analytics-average-event-duration
curl -X GET "https://api.bizkithub.com/bff/calendar/calendar-analytics-average-event-duration?code=example_code" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.