Revised

Set a webhook

Create (`url`; `add` makes another) or change (`id`, or the oldest) a webhook: `url`, `enabled`, `rotate_secret`. The response carries `secret` only when it was just made. The plan sets how many are allowed.

PUT/api/v1/my-domains/webhook

Create (`url`; `add` makes another) or change (`id`, or the oldest) a webhook: `url`, `enabled`, `rotate_secret`. The response carries `secret` only when it was just made. The plan sets how many are allowed.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Request bodyrequired

addboolean
enabledboolean
idstring
rotate_secretboolean
urlstring

Responses

The webhook.

curl --request PUT \
  --url "https://getrevised.com/api/v1/my-domains/webhook" \
  --header "Authorization: Bearer YOUR_API_KEY"
{}

Type to search…

↑↓ navigate↵ openesc close