OpenAPI operations
Read the site-wide activation funnel summary
const url = 'https://api.hooks.events/v1/funnel/summary';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.hooks.events/v1/funnel/summary \ --header 'Authorization: Bearer <token>'Platform-admin-only site-wide activation funnel (#609, #683): stage counts against the try_started cohort, time to first success, continued use, and first-touch source breakdown across every visitor and workspace. days (1-365, default 30) bounds the cohort window. Non-admins, including workspace owners, receive 403.
Requires the session scope.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Success
object
Site-wide activation funnel summary for platform admins (#683)
object
object
Funnel stage from the event dictionary
Distinct subjects that reached the stage (real traffic only)
Cohort size: visitors whose try_started is in the window
Count / denominator, 0..1
Demo/test occurrences recorded but excluded from count
Event_received to delivery_succeeded per workspace
object
object
object
First-touch utm_source, referrer host, or ‘direct’
Visitors whose workspace received a real event
True when the caller has a signup-linked visitor
Example
{ "data": { "sources": [ { "category": "ai_referral" } ] }}Validation error
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Per-field validation details for VALIDATION_ERROR
object
Body or query field that failed validation
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example", "issues": [ { "path": "example", "message": "example" } ] }}Missing or invalid credentials
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Per-field validation details for VALIDATION_ERROR
object
Body or query field that failed validation
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example", "issues": [ { "path": "example", "message": "example" } ] }}The credential lacks the required scope, or the workspace is not writable
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Per-field validation details for VALIDATION_ERROR
object
Body or query field that failed validation
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example", "issues": [ { "path": "example", "message": "example" } ] }}Rate limited
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Per-field validation details for VALIDATION_ERROR
object
Body or query field that failed validation
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example", "issues": [ { "path": "example", "message": "example" } ] }}Headers
Section titled “Headers”Requests allowed per window
Seconds until the window resets
Seconds to wait before retrying. Absent when the rejection has no retry time (for example the Free lifetime quota).
Request allowance for the workspace’s plan
Requests left in the allowance after this request