API ReferenceInsight
Create or Update Insight
Create a new insight or update an existing one using API token authentication
Authorization<token>
API Token authentication. Format: Bearer YOUR_API_TOKEN
In: header
projectstring
Project ID
titlestring
Insight title
valuestring | number | object
Insight value (can be string, number, or object)
Empty Object
icon?string
Insight icon
Response Body
curl -X POST "https://api.tracklytic.de/v1/insight" \ -H "Content-Type: application/json" \ -d '{ "project": "507f1f77bcf86cd799439012", "title": "Total Users", "value": 1250 }'{
"success": true,
"message": "Operation completed successfully"
}{
"code": 400,
"message": "Invalid request data"
}{
"code": 400,
"message": "Invalid request data"
}{
"code": 400,
"message": "Invalid request data"
}{
"code": 400,
"message": "Invalid request data"
}