Guides / Signups & Auth
Every signup is a signal. Did they come from your Product Hunt launch? Your blog post? A referral? If you're not notified immediately, you miss the chance to reach out while motivation is high.
No SDK required. Works from any language.
curl -X POST https://api.logit.now/api/ingest \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"channel": "signups",
"event": "New user signed up",
"description": "alex@example.com just created an account",
"icon": "👤",
"notify": true,
"tags": { "plan": "free", "source": "organic" },
"metadata": { "email": "alex@example.com" }
}'
import { init } from "logit";
const logit = init({ token: process.env.LOGIT_API_KEY! });
// Call this right after you persist the user to your DB
await logit.now("signups", {
event: "New user signed up",
description: `${user.email} joined`,
icon: "👤",
notify: true,
tags: {
plan: user.plan ?? "free",
source: user.signupSource ?? "direct",
},
metadata: {
userId: user.id,
email: user.email,
},
});
import httpx
httpx.post(
"https://api.logit.now/api/ingest",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"channel": "signups",
"event": "New user signed up",
"description": user["email"],
"icon": "👤",
"notify": True,
"tags": {"plan": user.get("plan", "free")},
"metadata": {"email": user["email"], "userId": str(user["id"])},
},
)
Within seconds, a notification appears on your phone with the user's email, plan, and source. Check your LogIt inbox to see the full timeline.
Try LogIt free
7-day trial. No credit card required.