---
title: "Get a webhook endpoint"
method: GET
path: "/webhook-endpoints/{id}"
tags: ["Webhooks"]
---

# Get a webhook endpoint

`GET /webhook-endpoints/{id}`

## Request

- Base URL: `https://api.promptessor.com/v1`
- URL: `https://api.promptessor.com/v1/webhook-endpoints/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://auth.promptessor.com/authorize`
    - Token URL: `https://auth.promptessor.com/token` scopes: `webhooks:manage`

## Response `200`

Success

- object
  - `data` WebhookEndpoint, required
    - `id` string, required
    - `object` 'webhook_endpoint', required
    - `url` string, uri, required
    - `description` string, nullable, required
    - `events` string[], required
    - `enabled` boolean, required
    - `lastDeliveryAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `secret` string
  - `requestId` string, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan entitlement
- `404`: Resource not found
- `429`: Rate, concurrency, usage, or active-resource limit reached
- `500`: Unexpected server failure

---

[API](https://skmtc.dev/promptessor/apis/promptessor-public-api.md) - [All operations](https://skmtc.dev/promptessor/apis/promptessor-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/promptessor/apis/promptessor-public-api/revisions/b77103396027?raw)
