---
title: "Post Visits"
method: POST
path: "/api/telemetry/visits"
tags: ["telemetry"]
---

# Post Visits

`POST /api/telemetry/visits`

## Request

- Base URL: `https://api.sambodh-ias.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sambodh-ias.in/api/telemetry/visits`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body

- VisitsBatch
  - `events` VisitEvent[], required
    - `event_id` string, required
    - `session_id` string, nullable
    - `path` string, required
    - `entered_at` string, required
    - `duration_ms` integer

## Response `202`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2.md) · [All operations](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/llms.txt) · [OpenAPI document](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/revisions/258843d1f806?raw)
