---
title: "Get an event pattern by ID"
method: GET
path: "/v1/event-patterns/{eventPatternId}"
tags: ["Event patterns"]
---

# Get an event pattern by ID

`GET /v1/event-patterns/{eventPatternId}`

Retrieve event pattern details for a workflow event trigger.

## Response `200`

Successful.

- EventPattern
  - `id` string, required
  - `eventName` string, required — The name of the event pattern. Use this when sending events with the API.
  - `eventProperties` WorkflowEventProperty[], required — The properties of the event pattern, which can be used in emails.
    - `name` string, required
    - `type` 'string' | 'number' | 'boolean' | 'date', required
  - `incomingWebhookPlatform` 'clerk' | 'polar' | 'stripe' | 'supabase' | 'null', nullable, required — The platform that sent this event pattern, if the event pattern is from an incoming webhook. Will be `null` for custom events.

## Other responses

- `400` — Invalid `eventPatternId`.
- `401` — Invalid API key.
- `404` — Event pattern not found.
- `405` — Wrong HTTP request method.

---

[API](https://skmtc.net/loops/apis/loops-openapi-spec.md) · [All operations](https://skmtc.net/loops/apis/loops-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loops/loops-openapi-spec/revisions/9cc087257f0d/schema)
