---
title: "Shared event names REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Shared event names, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/apisharetokensitesideventsnames/"
---

# Shared event names REST API

GET

/api/share/{token}/sites/{id}/events/names

FetchcURL

```
const url = 'http://127.0.0.1:25737/api/share/example/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events/names';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```
curl --request GET \
  --url http://127.0.0.1:25737/api/share/example/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events/names
```

-

Lists event names through share token.

## Parameters

### Path Parameters

**token**

required

string

**id**

required

string format: uuid

### Query Parameters

**from**

string format: date-time

**to**

string format: date-time

## Responses

### 200

Event names

application/json

Array<string>

##### Examplegenerated

```
[
  "example"
]
```

[Previous Shared event property breakdown](https://hitkeep.com/api/operations/apisharetokensitesideventsbreakdown/)[Next Shared event property keys](https://hitkeep.com/api/operations/apisharetokensitesideventsproperties/)
