---
title: "Get Webhook"
description: "How to call Get Webhook (GET /api/webhooks/{id}) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-01-15/reference/get_webhook"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_webhook"
operationId: "get_webhook"
method: "GET"
endpoint: "https://a.klaviyo.com/api/webhooks/{id}"
authentication: "privateKey"
scopes: ["webhooks:read"]
rateLimits: {"burst":"1/s","steady":"15/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
jsonApi: {"include":["webhook-topics"],"fields":{"webhook":["name","description","endpoint_url","enabled","created_at","updated_at"]}}
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/webhooks/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/get_webhooks.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_webhook.md","https://developers.klaviyo.com/en/v2025-01-15/reference/update_webhook.md","https://developers.klaviyo.com/en/v2025-01-15/reference/delete_webhook.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_webhook_topics.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_webhook_topic.md"]
---

# Get Webhook

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/get_webhook

```http
GET https://a.klaviyo.com/api/webhooks/{id}
```

Get the webhook with the given ID.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `webhooks:read`
- Rate limits: Burst: `1/s`, Steady: `15/m`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/webhooks/id' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15'
```

## Path parameters

- `id` (string, required): The ID of the webhook.

## Query parameters

- `fields[webhook]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `name`, `description`, `endpoint_url`, `enabled`, `created_at`, `updated_at`
- `include` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `webhook-topics`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-01-15`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `relationships` (object)
    - `webhook-topics` (object)
      - `data` (object[]): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (object): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
  - `type` (string, required): Allowed values: `webhook`
  - `id` (string, required): The ID of the webhook. Example: `01HF7AYTK76RHR4F17G6DGTRGF`
  - `attributes` (object, required)
    - `name` (string, required): A name for the webhook. Example: `My Webhook`
    - `description` (string, nullable): A description for the webhook. Example: `A webhook for sms events`
    - `endpoint_url` (string, required): The url to send webhook requests to, truncated for security. Example: `https://www.example.com`
    - `enabled` (boolean, required): Is the webhook enabled.
    - `created_at` (string<date-time>, required): Date and time when the webhook was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) Example: `2022-11-08T01:23:45+00:00`
    - `updated_at` (string<date-time>, required): Date and time when the webhook was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) Example: `2022-11-08T01:23:45+00:00`
  - `links` (object, required)
    - `self` (string<uri>, required)
- `included` (object[])
  - `type` (string, required): Allowed values: `webhook-topic`
  - `id` (string, required): The ID of the webhook topic. Example: `event:klaviyo.sent_sms`
  - `links` (ObjectLinks, required): Same fields as the first ObjectLinks above.

#### Example response body

```json
{
  "data": {
    "relationships": {
      "webhook-topics": {
        "data": [
          {
            "type": "webhook-topic",
            "id": "event:klaviyo.sent_sms"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    },
    "type": "webhook",
    "id": "01HF7AYTK76RHR4F17G6DGTRGF",
    "attributes": {
      "name": "My Webhook",
      "description": "A webhook for sms events",
      "endpoint_url": "https://www.example.com",
      "enabled": true,
      "created_at": "2022-11-08T01:23:45+00:00",
      "updated_at": "2022-11-08T01:23:45+00:00"
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "included": [
    {
      "type": "webhook-topic",
      "id": "event:klaviyo.sent_sms",
      "links": {
        "self": "https://www.example.com"
      }
    }
  ]
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
