Log analytics events
Ingest one or more analytics events for a project. Events are forwarded to Tinybird in NDJSON format and stored in the blink_events data source.
Accepts up to 10 events per request (50 KB max). String fields are truncated to 256 characters. The server auto-enriches missing browser, os, and deviceType fields from the User-Agent header. Non-standard event fields are stored in the data column. Authentication is optional unless analytics.require_auth is enabled for the project — except pageview-only batches from *.blinkpowered.com or *.sites.blink.new (see Origin/Referer), needed for hosted sendBeacon.
Request
- Base URLhttps://core.blink.new
- URLhttps://core.blink.new/api/analytics/{project_id}/log
- AuthHTTP bearer
Path parameters
Unique identifier for the project
Request body
Example request
{
"events": [
{
"type": "page_view",
"timestamp": "2024-01-15T10:30:00.000Z",
"user_id": "usr_abc123",
"pathname": "/pricing",
"referrer": "https://google.com",
"screen_width": 1440
}
]
}Response
Events accepted and forwarded to the analytics pipeline
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.