---
title: "Ingest Events"
method: POST
path: "/api/v1/events"
tags: ["events"]
---

# Ingest Events

`POST /api/v1/events`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/events`
- Auth: none declared

Store a batch of client analytics events.

## Headers

- `authorization` string, nullable
- `x-dev-user-id` string, nullable
- `x-app-version` string, nullable

## Request body

- AppEventBatch: A batch of client events from one install/session.
  - `install_id` string, nullable
  - `session_id` string, nullable
  - `platform` string, nullable
  - `app_version` string, nullable
  - `events` AppEventIn[]
    - `event` string, required
    - `props` object, nullable
    - `occurred_at` string, date-time, nullable

## Response `202`

Successful Response

- AppEventBatchResponse
  - `accepted` integer, required
  - `dropped` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
