---
title: "Create a webhook endpoint and one-time signing secret"
method: POST
path: "/v1/webhook-endpoints"
tags: ["Webhooks"]
---

# Create a webhook endpoint and one-time signing secret

`POST /v1/webhook-endpoints`

## Request

- Base URL: `https://api.supplyslate.com`
- URL: `https://api.supplyslate.com/v1/webhook-endpoints`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://mcp.supplyslate.com/authorize`, token URL `https://mcp.supplyslate.com/oauth/token`)
  - HTTP bearer

## Headers

- `Idempotency-Key` string

## Request body

- WebhookEndpointCreateWrite
  - `url` string, uri, required
  - `description` string
  - `subscribed_events` string[], required

## Response `201`

Created durably

- WebhookEndpointResponse
  - `endpoint` WebhookEndpoint, required
    - `id` string, required
    - `url` string, uri
    - `status` string
    - `subscribed_events` string[]
    - `signing_secret` string
  - `request_id` string

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Scope or tenant boundary denied
- `404`: Resource not found
- `409`: State conflict or idempotency mismatch
- `429`: Rate limited

---

[API](https://skmtc.dev/supplyslate/apis/supplyslate-agent-native-supply-api.md) · [All operations](https://skmtc.dev/supplyslate/apis/supplyslate-agent-native-supply-api/llms.txt) · [OpenAPI document](https://skmtc.dev/supplyslate/apis/supplyslate-agent-native-supply-api/revisions/f7989551f167?raw)
