Skip to main content
POST
Rotate Webhook Secret

Authorizations

x-api-key
string
header
required

Headers

Pulse-Version
string
default:2

Path Parameters

webhook_id
string
required

The webhook_id that POST /webhook returned.

Response

The new secret, and when the previous one stops signing.

A webhook's new signing secret.

webhook_id
string
required

The webhook's id.

secret
string
required

The new signing secret, starting whsec_. Store it now, because Pulse returns it only once.

previous_secret_expires_at
string
required

When the previous secret stops signing, 24 hours from now.