Webhooks

Update a webhook endpoint

Partially updates a webhook endpoint. Only the provided fields are updated. The signing secret cannot be changed.

patch/v1/webhooks/{id}

Request

  • Base URL: https://api.astrocal.dev
  • URL: https://api.astrocal.dev/v1/webhooks/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

urlstring uri
eventsstring[]
activeboolean

Response

Webhook endpoint updated

idstring uuid required
urlstring required
eventsstring[] required
activeboolean required
verification_status'pending' | 'verified' | 'failed' required
verified_atstring nullable required
verification_last_errorstring nullable required
consecutive_failuresinteger required
suspended_atstring nullable required
created_atstring required
updated_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.