---
title: "Create Endpoint"
method: POST
path: "/api/v1/app/{app_id}/endpoint"
tags: ["Endpoint"]
---

# Create Endpoint

`POST /api/v1/app/{app_id}/endpoint`

Create a new endpoint for the application.

When `secret` is `null` the secret is automatically generated (recommended).

## Path parameters

- `app_id` string, required — The Application's ID or UID.

## Headers

- `idempotency-key` string

## Request body

- EndpointIn
  - `channels` string[], nullable — List of message channels this endpoint listens to (omit for all).
  - `description` string
  - `disabled` boolean
  - `eventTypes` string[], nullable
  - `headers` object, nullable
  - `metadata` object
  - `secret` string, nullable — The endpoint's verification secret. Format: `base64` encoded random bytes optionally prefixed with `whsec_`. It is recommended to not set this and let the server generate the secret.
  - `throttleRate` integer, nullable — Maximum messages per second to send to this endpoint. Outgoing messages will be throttled to this rate.
  - `uid` string, nullable — Optional unique identifier for the endpoint.
  - `url` string, uri, required

## Response `201`

- EndpointOut
  - `channels` string[], nullable — List of message channels this endpoint listens to (omit for all).
  - `createdAt` string, date-time, required
  - `description` string, required
  - `disabled` boolean
  - `eventTypes` string[], nullable
  - `id` string, required — The Endpoint's ID.
  - `metadata` object, required
  - `throttleRate` integer, nullable — Maximum messages per second to send to this endpoint. Outgoing messages will be throttled to this rate.
  - `uid` string, nullable — Optional unique identifier for the endpoint.
  - `updatedAt` string, date-time, required
  - `url` string, uri, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Validation Error
- `429` — Too Many Requests

## Changes

- **2026-08-19** `dc130bd1b074` — 1 breaking, 5 warning, 2 info
  - removed the required property `version` from the response with the `201` status
  - removed the request property `filterTypes`
  - removed the request property `rateLimit`
  - removed the request property `version`
  - …4 more
- **2026-07-31** `16dbcc056c48` — 1 info
  - added the new optional request property `version`

[Change history](https://skmtc.dev/svix/apis/svix-api/changes/api/v1/app/:app_id/endpoint/post.md)

---

[API](https://skmtc.dev/svix/apis/svix-api.md) · [All operations](https://skmtc.dev/svix/apis/svix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/svix/svix-api/revisions/267f7078e536/schema)
