Tracklytic
API ReferenceInsightMutate

Mutate Insight Value

Increment or modify an insight value using API token authentication

PATCH
/v1/insight/mutate
Authorization<token>

API Token authentication. Format: Bearer YOUR_API_TOKEN

In: header

projectstring

Project ID

titlestring

Insight title

valueobject

Increment value object

icon?string

Insight icon

Response Body

curl -X PATCH "https://api.tracklytic.de/v1/insight/mutate" \  -H "Content-Type: application/json" \  -d '{    "project": "507f1f77bcf86cd799439012",    "title": "Total Users",    "value": {}  }'
{
  "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"
}