---
title: "Create Event"
method: POST
path: "/events"
---

# Create Event

`POST /events`

## Request

- Base URL: `https://safefamilyapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://safefamilyapp.com/events`
- Auth: HTTP bearer

Requires a signed-in organizer. An unconfirmed address may build a few events; more needs the
address confirmed.

## Request body

- EventCreate
  - `event_name` string, required
  - `event_date` string, date, required
  - `location` string, nullable
  - `country` string, nullable

## Response `201`

Successful Response

- EventSummary
  - `event_id` string, required
  - `event_name` string, required
  - `event_date` string, date, required
  - `race_count` integer
  - `location` string, nullable
  - `country` string, nullable

## Other responses

- `422`: Validation Error

---

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