Rotate a webhook signing secret
Generates and returns a new signing secret. The previous secret remains valid for a 24-hour rotation overlap.
Generates and returns a new signing secret. The previous secret remains valid for a 24-hour rotation overlap.
Authorization
apiKey x-api-key<token>
In: header
Path Parameters
webhookId*string
Match
^wep_[0-9a-hjkmnp-tv-z]{16,24}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/webhooks/string/rotate-secret"{ "secret": "string"}Related
List webhooks
Returns a paginated list of the organization's webhook endpoints with each endpoint's delivery counts, optionally filtered by name search and status.
Delete a webhook
Deletes a webhook endpoint so it no longer receives event deliveries. Use this endpoint to delete a webhook through the Samva email API.