Webhooks

Rotate workspace webhook secret

Generates a new webhook signing secret for the workspace. The old secret remains valid for 7 days.

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

Path parameters

idstring uuid required

Workspace ID

Response

Secret rotated successfully

messagestring required
new_secretstring required

The new webhook signing secret (64 character hex string)

grace_period_hoursinteger required

Hours the old secret remains valid alongside the new one

warningstring

Reminder to update webhook signature verification

Changes

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