Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Webhooks

Regenerate a webhook's signing secret (returned once)

POST
/v1/orgs/{orgId}/webhooks/{id}/regenerate-secret
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

orgId*string
id*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/orgs/string/webhooks/string/regenerate-secret"
{
  "id": "string",
  "secret": "string",
  "secretPrefix": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}

Command line

The orl CLI wraps this endpoint:

orl webhooks secret regenerate <id>