Universal HTTP API

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

1

Create a project

Create your project from the Logimoni dashboard.

2

Create categories

Create categories such as Login, Payment, Signup, Error, or Cron.

3

Send events

Send User Key, Project Key, Category Name, and Message to the API.

Endpoint

POST https://logimoni.com/api/events

Request 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"
}
userKey Your personal API user key.
projectKey The key of the project you want to send the event to.
categoryName The category name created from the dashboard.
message The event message you want to store.

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

Categories are not created by API

You must create categories from the Logimoni dashboard before sending events.

Universal API

Any language or platform can send events as long as it supports HTTP POST.

Silent API responses

Logimoni does not expose detailed error data to your end users.

Use server-side when possible

For sensitive keys, prefer sending events from your backend instead of frontend code.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.