Tracklytic
API ReferenceEvent

Create Event

Create a new event in the specified project and channel using API token authentication

POST
/v1/event
Authorization<token>

API Token authentication. Format: Bearer YOUR_API_TOKEN

In: header

projectstring

Project ID

channelstring

Channel ID

eventstring

Event name

description?string

Event description

icon?string

Event icon

notify?boolean

Whether to send notifications for this event

Defaultfalse
tags?object

Custom tags for the event

Empty Object

user_id?string

User identifier

timestamp?string

Event timestamp (optional, defaults to current time)

Formatdate-time

Response Body

curl -X POST "https://api.tracklytic.de/v1/event" \  -H "Content-Type: application/json" \  -d '{    "project": "507f1f77bcf86cd799439012",    "channel": "507f1f77bcf86cd799439013",    "event": "page_view"  }'
{
  "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"
}