Webhooks

Rotate the signing secret

Generate a new signing secret for the endpoint and return it ONCE. The old secret stops signing immediately.

post/v0/webhooks/{id}/rotate-secret

Request

  • Base URL: https://api.schedulin.app
  • URL: https://api.schedulin.app/v0/webhooks/{id}/rotate-secret
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (authorization code, authorization URL https://api.schedulin.app/oauth/authorize, token URL https://api.schedulin.app/oauth/token, scopes: webhooks:write)

Path parameters

idstring required

Request body

object required

Response

OK

idstring required
urlstring required
secretstring required
eventsstring[] required
descriptionstring nullable required
enabledboolean required
consecutiveFailuresinteger required
lastSuccessAtstring date-time nullable required
lastFailureAtstring date-time nullable required
disabledAtstring date-time nullable required
createdAtstring date-time required
updatedAtstring date-time required

Changes

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