---
title: "Get an event"
method: GET
path: "/workflows/events/{eventId}"
tags: ["Workflows"]
---

# Get an event

`GET /workflows/events/{eventId}`

## Request

- Base URL: `https://{prefix}.api.sandbox.checkout.com`
- URL: `https://{prefix}.api.sandbox.checkout.com/workflows/events/{eventId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `string` scopes: `flow`, `flow:events`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/checkout/apis/checkout-com-api-reference/docs/workflows/events/:eventId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the details of an event

## Path parameters

- `eventId` string, required

## Response `200`

Event retrieved successfully

- GetEventResponse
  - `id` string: The unique event identifier
  - `source` string: The source of the event
  - `type` string: The event type
  - `timestamp` string, date-time: The date/time the event occurred
  - `version` string: The version of the event
  - `data` EventData: The event data
  - `action_invocations` object[]: The list of the actions that trigger this event.
    - `workflow_id` string: The workflow identifier
    - `workflow_action_id` string: The workflow action identifier
    - `status` 'pending' | 'successful' | 'failed': The status of the workflow action.
    - `_links` object: Links related to the workflow action
      - `self` Link, required
        - `href` string, required: The link URL
  - `_links` EventLinks: Links related to the event
    - `self` Link, required
      - `href` string, required: The link URL

## Other responses

- `401`: Unauthorized
- `404`: Event not found
- `500`: Internal Error

---

[API](https://skmtc.dev/checkout/apis/checkout-com-api-reference.md) - [All operations](https://skmtc.dev/checkout/apis/checkout-com-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/checkout/apis/checkout-com-api-reference/revisions/0f1abdb1c3e9?raw)
