Rotate Webhook Secret
Issue a new signing secret with a 24-hour verification overlap.
signing_secret becomes active immediately and is returned only in this
response. The previous secret remains valid until
previous_secret_valid_until.
During the 24-hour overlap, webhook requests include both v1 and v0
signatures. Update your receiver to accept the new secret before removing the
old one.
Read the signature verification guideAuthorizations
Environment-specific API key created in the Unifystays portal
Headers
Path Parameters
Webhook endpoint UUID.
"8b95a9e0-4af3-4c6d-92df-84b64256d27f"
Response
Signing secret rotated successfully.
Unique webhook endpoint identifier.
"8b95a9e0-4af3-4c6d-92df-84b64256d27f"
Human-readable endpoint name.
"Production booking events"
URL that receives signed webhook POST requests.
"https://example.com/webhooks/unifystays"
Current endpoint state. Paused and disabled endpoints do not receive new deliveries.
ACTIVE, PAUSED, DISABLED "ACTIVE"
Normalized event subscriptions for this endpoint.
booking.created, booking.confirmed, booking.failed, booking.cancellation_requested, booking.cancelled, booking.cancellation_failed, booking.* Consecutive delivery failures since the last success or reactivation.
0
Time of the most recent successful delivery, if any.
"2026-08-08T08:30:00.000Z"
Time of the most recent failed delivery, if any.
null
Time the endpoint was disabled, if applicable.
null
Reason the endpoint was disabled, if applicable.
null
Endpoint creation time.
"2026-08-08T08:00:00.000Z"
Time the endpoint was last updated.
"2026-08-08T08:30:00.000Z"
HMAC signing secret. Returned only once; store it securely before discarding the response.
"whsec_************************"
Time until which signatures made with the previous secret remain valid.
"2026-08-09T08:30:00.000Z"