Webhooks
Enable/disable a webhook
Command line
The orl CLI wraps this endpoint:
orl webhooks toggle <id> --enabledAuthorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
In: header
Path Parameters
orgId*string
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/orgs/string/webhooks/string/toggle" \ -H "Content-Type: application/json" \ -d '{ "enabled": true }'{ "id": "string", "enabled": true}