Update event routing configuration

Update event routing configuration for a webhook surface.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
Product ID
surfaceIdstringRequired
Surface ID

Request

This endpoint expects an object.
eventTypePathstringRequired>=1 character
routesmap from strings to stringsRequired
fallbackCapabilityIdstringOptional

Response

Routing updated
eventRoutingany

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error