---
title: "Retrieve an event"
method: GET
path: "/cdp/{connection_id}/event/{id}"
tags: ["cdp", "event"]
---

# Retrieve an event

`GET /cdp/{connection_id}/event/{id}`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Response `200`

Successful

- CdpEvent
  - `id` string
  - `created_at` string, date-time
  - `name` string
  - `type` 'TRACK' | 'PAGE' | 'SCREEN' | 'IDENTIFY' | 'GROUP' | 'ALIAS'
  - `occurred_at` string, date-time
  - `profile_id` string
  - `identifiers` CdpIdentifier[] — The identifiers that link this event to a profile
    - `type` 'EMAIL' | 'USER_ID' | 'ANONYMOUS_ID' | 'DEVICE_ID' | 'PHONE' | 'CRM_ID' | 'LOYALTY_ID' | 'OTHER'
    - `value` string, required
    - `is_primary` boolean
    - `encoding` string
    - `source` string
  - `metadata` CdpMetadata[] — The event payload/properties
    - `id` string
    - `slug` string
    - `value` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT'
    - `extra_data` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
  - `source` string
  - `source_id` string
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/versions/1f72720916e4/schema)
