Update a channel route

View as Markdown

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

channelIdstringRequired
routeIdstringRequired

Request

This endpoint expects an object.
namestringOptional1-120 characters
targetobjectOptional
payloadMappingmap from strings to strings or nullOptional
statusenumOptional
Allowed values:

Response

The updated route.
routeobject

Errors

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