---
title: "Create a webhook endpoint"
method: POST
path: "/webhooks/endpoints"
---

# Create a webhook endpoint

`POST /webhooks/endpoints`

## Request

- Base URL: `https://www.agentseo.dev/api/v1`
- URL: `https://www.agentseo.dev/api/v1/webhooks/endpoints`
- Auth: API key in header `x-api-key`

## Request body

- WebhookEndpointCreateRequest
  - `url` string, uri, required
  - `description` string
  - `events` string[]

## Response `201`

Webhook endpoint created. The signing secret is returned once.

- WebhookEndpointCreateResponse
  - `id` string, uuid
  - `user_id` string, uuid
  - `url` string, uri
  - `description` string, nullable
  - `events` string[]
  - `is_active` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `last_delivery_at` string, date-time, nullable
  - `secret_last_four` string
  - `signing_secret` string

---

[API](https://skmtc.dev/agentseo/apis/agentseo-api.md) · [All operations](https://skmtc.dev/agentseo/apis/agentseo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentseo/apis/agentseo-api/revisions/53a62da6f92c?raw)
