---
title: "Update event"
method: POST
path: "/sites/{site_id}/events/{event_id}"
tags: ["Events"]
---

# Update event

`POST /sites/{site_id}/events/{event_id}`

Update an event. Send only the fields you want to change.

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

**Returns:** An event object.

## Path parameters

- `site_id` string, required
- `event_id` string, required

## Request body

- object
  - `name` string — The name of the event (up to 255 characters).
  - `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.

## Response `200`

Successful response

## Other responses

- `400` — Bad request. Returned for validation failures and other request problems. Send `Accept: application/json` to receive errors as JSON.
- `401` — Authentication failed — the API token is missing, malformed or invalid.

---

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