---
title: "Create a channel"
method: POST
path: "/v1/domains/{domainId}/channels"
tags: ["Event Distribution Service"]
---

# Create a channel

`POST /v1/domains/{domainId}/channels`

## Request

- Base URL: `https://docs.ripple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.ripple.com/v1/domains/{domainId}/channels`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ripple/apis/ripple-custody-api/docs/v1/domains/:domainId/channels/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `domainId` string, required

## Request body

- EDSWebhookChannelCreate
  - `id` string, uuid, required
  - `name` string, required
  - `supportedEventTypes` string[], required
  - `status` 'ACTIVE' | 'DISABLED'
  - `maxRetries` integer
  - `createdBy` string, uuid, required
  - `type` 'WEBHOOK', required
  - `url` string, required

## Response `200`

OK

- EDSChannel
  - `id` string, uuid
  - `domainId` string, uuid
  - `name` string
  - `supportedEventTypes` string[]
  - `type` 'WEBHOOK'
  - `status` 'ACTIVE' | 'DISABLED'
  - `maxRetries` integer
  - `url` string
  - `createdBy` string, uuid
  - `lastUpdatedBy` string, uuid
  - `createdAt` string, date-time
  - `lastUpdatedAt` string, date-time
  - `errorRate` number, double

---

[API](https://skmtc.dev/ripple/apis/ripple-custody-api.md) - [All operations](https://skmtc.dev/ripple/apis/ripple-custody-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ripple/apis/ripple-custody-api/revisions/c6f0ad6b70c0?raw)
