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/webhookCreate (`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
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request bodyrequired
addbooleanenabledbooleanidstringrotate_secretbooleanurlstringResponses
The webhook.
curl --request PUT \
--url "https://getrevised.com/api/v1/my-domains/webhook" \
--header "Authorization: Bearer YOUR_API_KEY"{}