---
title: "Create an endpoint"
method: POST
path: "/v1/endpoints"
---

# Create an endpoint

`POST /v1/endpoints`

## Request

- Base URL: `https://webhook-studio.com`
- URL: `https://webhook-studio.com/v1/endpoints`
- Auth: HTTP bearer

Returns the ingest url and the signing secret. The secret is returned here and on rotation only.

## Request body

- object
  - `name` string
  - `environment` 'production' | 'staging' | 'sandbox' | 'development'
  - `external_ref` string: Stable caller-chosen name, unique per account. Set it — it is how you find this endpoint again later.

## Response `201`

Created

- object

## Other responses

- `400`: Error
- `401`: Error
- `403`: Error
- `409`: Error
- `429`: Error

---

[API](https://skmtc.dev/webhook-studio/apis/webhook-studio-api.md) · [All operations](https://skmtc.dev/webhook-studio/apis/webhook-studio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webhook-studio/apis/webhook-studio-api/revisions/99d81099e6d6?raw)
