Add a route, naming the target in the body
POST/api/v1/webhooks/:webhook_id/routes
The same operation as addWebhookRoute, for a client that holds the target id in a body as
add_webhook_route's arguments do.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
The route exists (idempotent).
The body does not decode, or has no target_endpoint_id (invalid_argument).
Missing, expired, revoked, or non-operator bearer.
The target is not routable (forbidden); see addWebhookRoute.
No such webhook in the caller's reach.
The webhook's endpoint is not active (state names it).
The caller's per-human write budget is spent; see Retry-After.