Create a channel

View as Markdown

Creates an email, webhook, or file_drop channel. Webhook channels are provisioned via Hookdeck when configured, otherwise with a direct-ingest secret. Requires trigger:manage.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Request

This endpoint expects an object.
slugstringRequiredformat: "^[a-z0-9][a-z0-9-]*$"1-64 characters
namestringRequired1-120 characters
typeenumRequired
Allowed values:
folderIdstringOptional>=1 character

Response

The created channel.
channelobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error