---
title: "Get Event"
description: "How to call Get Event (GET /api/events/{id}/) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2023-01-24/reference/get_event"
revision: "2023-01-24"
latestUrl: "https://developers.klaviyo.com/en/reference/get_event"
operationId: "get_event"
method: "GET"
endpoint: "https://a.klaviyo.com/api/events/{id}/"
authentication: "privateKey"
scopes: ["Events Read"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
jsonApi: {"include":["metrics","profiles"],"fields":{"event":["metric_id","profile_id","timestamp","event_properties","datetime","uuid"],"metric":["name","created","updated","integration"],"profile":["email","phone_number","external_id","first_name","last_name","organization","title","image","created","updated","last_event_date","location","location.address1","location.address2","location.city","location.country","location.latitude","location.longitude","location.region","location.zip","location.timezone","properties","subscriptions","subscriptions.email","subscriptions.email.marketing","subscriptions.email.marketing.consent","subscriptions.email.marketing.timestamp","subscriptions.email.marketing.method","subscriptions.email.marketing.method_detail","subscriptions.email.marketing.custom_method_detail","subscriptions.email.marketing.double_optin","subscriptions.email.marketing.suppressions","subscriptions.email.marketing.suppressions.reason","subscriptions.email.marketing.suppressions.timestamp","subscriptions.email.marketing.list_suppressions","subscriptions.email.marketing.list_suppressions.list_id","subscriptions.email.marketing.list_suppressions.reason","subscriptions.email.marketing.list_suppressions.timestamp","subscriptions.sms","subscriptions.sms.marketing","subscriptions.sms.marketing.consent","subscriptions.sms.marketing.timestamp","subscriptions.sms.marketing.method","subscriptions.sms.marketing.method_detail"]}}
related: ["https://developers.klaviyo.com/en/v2023-01-24/reference/events/llms.txt","https://developers.klaviyo.com/en/v2023-01-24/reference/get_events.md","https://developers.klaviyo.com/en/v2023-01-24/reference/create_event.md","https://developers.klaviyo.com/en/v2023-01-24/reference/get_event_metrics.md","https://developers.klaviyo.com/en/v2023-01-24/reference/get_event_profiles.md","https://developers.klaviyo.com/en/v2023-01-24/reference/get_event_relationships.md"]
---

# Get Event

> This is the Markdown version of https://developers.klaviyo.com/en/v2023-01-24/reference/get_event

```http
GET https://a.klaviyo.com/api/events/{id}/
```

Get an event with the given event ID.
Include parameters can be provided to get the following related resource data: `metrics`, `profiles`

- Revision header: `revision: 2023-01-24` (required)
- Scopes: `Events Read`
- Rate limits: Burst: `10/s`, Steady: `150/m`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/events/id/' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/json' \
     --header 'revision: 2023-01-24'
```

## Path parameters

- `id` (string, required): ID of the event

## Query parameters

- `fields[event]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2023-01-24/reference.md) Allowed values: `metric_id`, `profile_id`, `timestamp`, `event_properties`, `datetime`, `uuid`
- `fields[metric]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2023-01-24/reference.md) Allowed values: `name`, `created`, `updated`, `integration`
- `fields[profile]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2023-01-24/reference.md) Allowed values: `email`, `phone_number`, `external_id`, `first_name`, `last_name`, `organization`, `title`, `image`, `created`, `updated`, `last_event_date`, `location`, `location.address1`, `location.address2`, `location.city`, `location.country`, `location.latitude`, `location.longitude`, `location.region`, `location.zip`, `location.timezone`, `properties`, `subscriptions`, `subscriptions.email`, `subscriptions.email.marketing`, `subscriptions.email.marketing.consent`, `subscriptions.email.marketing.timestamp`, `subscriptions.email.marketing.method`, `subscriptions.email.marketing.method_detail`, `subscriptions.email.marketing.custom_method_detail`, `subscriptions.email.marketing.double_optin`, `subscriptions.email.marketing.suppressions`, `subscriptions.email.marketing.suppressions.reason`, `subscriptions.email.marketing.suppressions.timestamp`, `subscriptions.email.marketing.list_suppressions`, `subscriptions.email.marketing.list_suppressions.list_id`, `subscriptions.email.marketing.list_suppressions.reason`, `subscriptions.email.marketing.list_suppressions.timestamp`, `subscriptions.sms`, `subscriptions.sms.marketing`, `subscriptions.sms.marketing.consent`, `subscriptions.sms.marketing.timestamp`, `subscriptions.sms.marketing.method`, `subscriptions.sms.marketing.method_detail`
- `include` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2023-01-24/reference.md) Allowed values: `metrics`, `profiles`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2023-01-24`

## Responses

### 200: 

Content type: `application/json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `event`
  - `id` (string, required): The Event ID
  - `attributes` (object, required)
    - `metric_id` (string, required): The Metric ID
    - `profile_id` (string): Profile ID of the associated profile, if available
    - `timestamp` (string): Event timestamp in seconds
    - `event_properties` (object): Event properties, can include attribution data, identifiers and extra properties
    - `datetime` (string): Event timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)
    - `uuid` (string): A unique identifier for the event, this can be used as a cursor in pagination
  - `relationships` (object)
    - `metrics` (object)
      - `data` (object[], required): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `profiles` (object)
      - `data` (object[], required): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
  - `links` (object, required)
    - `self` (string<uri>, required)
- `included` (oneOf[])
  - One of:
    - Option 1: `IncludedMetrics`
      - `type` (string, required): Allowed values: `metric`
      - `id` (string, required): The Metric ID
      - `attributes` (object, required): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (ObjectLinks, required): Same fields as the first ObjectLinks above.
    - Option 2: `IncludedProfiles`
      - `type` (string, required): Allowed values: `profile`
      - `id` (string, required): Primary key that uniquely identifies this profile. Generated by Klaviyo. Example: `01GDDKASAP8TKDDA2GRZDSVP4H`
      - `attributes` (object, required): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (ObjectLinks, required): Same fields as the first ObjectLinks above.

#### Example response body

```json
{
  "data": {
    "type": "event",
    "id": "string",
    "attributes": {
      "metric_id": "string",
      "profile_id": "string",
      "timestamp": "string",
      "event_properties": {},
      "datetime": "string",
      "uuid": "string"
    },
    "relationships": {
      "metrics": {
        "data": [
          {
            "type": "metric",
            "id": "string"
          }
        ]
      },
      "profiles": {
        "data": [
          {
            "type": "profile",
            "id": "string"
          }
        ]
      }
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "included": [
    {
      "type": "metric",
      "id": "string",
      "attributes": {
        "name": "string",
        "created": "string",
        "updated": "string",
        "integration": {}
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ]
}
```

### 4XX: Client Error

Content type: `application/json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
