---
title: "Events Tracking"
url: "https://help.productfruits.com/en/article/events-tracking"
language: "en"
last_updated: "2024-12-18T06:41:26.920Z"
---

# Events Tracking

Use this REST resource to track events.

**API domain**: api.productfruits.com

* * *

## Track event to user

**Resource**: POST /v1/events/track  
**Body**

```plaintext
{
    "event": "Your Event Name", // REQUIRED
    "properties": { // except for 'username', these props are optional and currently on for future user.
    	"username": 'Username of the User to track the event to',
        "intCustomProp": 78878,
        "boolCustomProp": false,
        "stringCustomProp": "example"
    }
}
```

This endpoint tracks an event to the given user. Use it to sync events from your backend systems.
