Getting started

Bootstrap a company, sign in, and send the first log.

The current product flow is: create the founder account and company during signup, use bearer auth for the console, and only create an API key when you need an external integration credential.

1. Signup

POST /api/v1/auth/signup
{
  "username": "founder",
  "email": "founder@company.com",
  "password": "ChangeMe123!",
  "company_id": "acme-financial"
}

The company must already exist in the database before signup.

2. Ingest a log

POST /api/v1/logs
Authorization: Bearer <access_token>
X-Company-ID: acme-financial

{
  "event_type": "payment.created",
  "source": "payments-api",
  "payload": {
    "user_id": "123",
    "amount": 2000,
    "currency": "USD"
  }
}
AuthenticationLog Ingestion