Create Event
Log a custom event for a user.
Path parameters
| Parameter | Type | Description |
|---|---|---|
userId | string | The user ID |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Event type (e.g., page_view, purchase) |
data | object | No | Event payload |
Response
Returns 201 Created.