---
title: "Collect"
method: POST
path: "/v1/events"
tags: ["events"]
---

# Collect

`POST /v1/events`

## Request

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

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- EventsIn
  - `anon_id` string, nullable
  - `events` EventIn[], required
    - `name` string, required
    - `props` object
    - `path` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mocapless/apis/mocapless-api.md) · [All operations](https://skmtc.dev/mocapless/apis/mocapless-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mocapless/apis/mocapless-api/revisions/37b479a6e615?raw)
