Update a channel route
Updates a route’s name, target, payload mapping, RUN-IF gate, or status. Requires trigger:manage.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
channelId
routeId
Request
This endpoint expects an object.
name
target
payloadMapping
status
Allowed values:
Response
The updated route.
route
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error