Create a channel route
Adds a route to the channel, binding deliveries to a playbook target with optional payload mapping and a RUN-IF gate. Requires trigger:manage.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
channelId
Request
This endpoint expects an object.
name
target
payloadMapping
Response
The created route.
route
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error