Send events from any application.
Logimoni accepts simple HTTP POST requests. You can send events from C#, JavaScript, Python, PHP, mobile apps, backend services, cron jobs, or any system that can make an HTTP request.
Quick Start
Create a project
Create your project from the Logimoni dashboard.
Create categories
Create categories such as Login, Payment, Signup, Error, or Cron.
Send events
Send User Key, Project Key, Category Name, and Message to the API.
Endpoint
https://logimoni.com/api/eventsRequest Body
Categories must be created inside the Logimoni dashboard first. The API only receives the category name and matches it with your project.
{
"userKey": "usr_xxxxx",
"projectKey": "prj_xxxxx",
"categoryName": "Login",
"message": "A user logged in"
}
JavaScript Example
fetch("https://logimoni.com/api/events", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
userKey: "usr_xxxxx",
projectKey: "prj_xxxxx",
categoryName: "Login",
message: "A user logged in"
})
});C# Example
using System.Net.Http.Json;
var httpClient = new HttpClient();
await httpClient.PostAsJsonAsync("https://logimoni.com/api/events", new
{
userKey = "usr_xxxxx",
projectKey = "prj_xxxxx",
categoryName = "Login",
message = "A user logged in"
});Python Example
import requests
requests.post(
"https://logimoni.com/api/events",
json={
"userKey": "usr_xxxxx",
"projectKey": "prj_xxxxx",
"categoryName": "Login",
"message": "A user logged in"
}
)cURL Example
curl -X POST https://logimoni.com/api/events \
-H "Content-Type: application/json" \
-d '{
"userKey": "usr_xxxxx",
"projectKey": "prj_xxxxx",
"categoryName": "Login",
"message": "A user logged in"
}'Important Notes
You must create categories from the Logimoni dashboard before sending events.
Any language or platform can send events as long as it supports HTTP POST.
Logimoni does not expose detailed error data to your end users.
For sensitive keys, prefer sending events from your backend instead of frontend code.