---
description: Api To Track Event From Backend
---

# Backend Tracker

_For Any Queries Drop a mail at : aman@crunchit.ai_

1. _**Import Event**_

```
curl --location 'https://events-backend-5dzspnb6za-uc.a.run.app/import-event' \
--header 'project_id;' \
--header 'Content-Type: application/json' \
--data '{
    "activities" : [
        { 
            "userIntent" : "", 
            "timestamp" : "", 
            "uniqueIdentifierUser" : "", 
            "anycustomKey" : "custom properties" 
        }
    ]
}'
```

> Headers :&#x20;
>
> ```
> project_id : apikey (required)
> ```

> Payload :&#x20;
>
> ```
> userIntent : event name (required), 
> timestamp : event produced time.in milliseconds (required), 
> uniqueIdentifierUser : user Identifier(userId) (required), 
> anycustomKey - custom properties (optional) 
> ```

> Api Response :&#x20;
>
> ```
> Status Code : 201
>
> {
>     "success": true
> }
>
> ```
