---
title: "Create event"
method: POST
path: "/sites/{site_id}/events"
tags: ["Events"]
deprecated: true
---

# Create event

`POST /sites/{site_id}/events`

> **Deprecated.**

Previously created an event. This endpoint is no longer available.

**Permissions:** Requires write access to the site (`manage:{site_id}`).

## Path parameters

- `site_id` string, required

## Request body

- object
  - `name` string, required — The name of the event (up to 255 characters). Example: `Purchase early access`
  - `currency` 'dollar' | 'pound' | 'euro' | 'yuan' | 'peso' | 'shekel' | 'yen' | 'won' | 'hryvnia' | 'franc' | 'rupee' | 'integer' | 'none' — The currency used for any value attached to this event's completions. If omitted, defaults to `dollar`.

## Other responses

- `410` — This endpoint is no longer available. Track the event on your site, then use [List events](#list-events) and [Set event currency](#set-event-currency).

---

[API](https://skmtc.dev/usefathom/apis/fathom-analytics-api.md) · [All operations](https://skmtc.dev/usefathom/apis/fathom-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usefathom/fathom-analytics-api/revisions/93547ee49398/schema)
