---
title: "Retrieve a webhook event schema"
method: GET
path: "/v1/webhooks/{webhook_id}/event_schemas/{id}"
tags: ["webhooks"]
---

# Retrieve a webhook event schema

`GET /v1/webhooks/{webhook_id}/event_schemas/{id}`

Retrieves one active webhook event schema scoped to the parent webhook.

## Path parameters

- `webhook_id` string, required
- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

webhook event schema found

- TypeWebhookEventSchema
  - `object` 'webhook_event_schema', required
  - `id` string, uuid, required — Unique identifier for this webhook event schema.
  - `namespace` string, required — Event namespace for the schema override. Currently supported business event namespaces are business.created and business.updated.
  - `schema` string, required — GraphQL selection set rooted at the event object for the namespace. For business.updated, write fields directly against the Business object, for example "{ id name runs { id agent } }". The selected object replaces only `data.object` in delivered webhook payloads.
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `404` — webhook event schema not found

---

[API](https://skmtc.net/middesk/apis/middesk-api.md) · [All operations](https://skmtc.net/middesk/apis/middesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/middesk/middesk-api/revisions/f849b82a42e1/schema)
