202 Accepted and a log visible in the Peeng dashboard.
1
Create a project and API key
Go to https://peeng.dev/register and sign up or sign in. Create an organization and a project if you haven’t already, then navigate to Settings → API Keys and generate a new key.Your key looks like this:
2
Send a log
Every integration path — SDK or raw HTTP — calls the same endpoint: A successful request returns The
POST https://api.peeng.dev/v1/logs. Pick whichever example fits your stack:202 Accepted with the following body:accepted count reflects the number of log entries Peeng queued from your request.3
Check the dashboard
Open the log explorer in your Peeng project. Your log appears within a few seconds of the request completing. You can filter the explorer by:
- Level —
info,warn,error,debug - Service — the
servicefield you set in the log body - Status code — the
statusCodefield - Request ID — a
requestIdyou attach to correlate logs across a single request - User ID — a
userIdyou attach to trace activity for a specific user
4
(Optional) Install an SDK
For production use, the official SDKs handle batching, automatic retries on transient failures, and idempotency — so you never block your application waiting for a log to flush, and you never lose entries during a brief network hiccup.
Next steps
Authentication
Learn how test vs. live keys work, and how to rotate a key safely.
API Reference
Every field and option that
POST /v1/logs accepts.