Skip to main content
POST
Rotate webhook secret

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Path Parameters

id
string<uuid>
required

Body

application/json
overlap_seconds
integer
default:0

How long the old secret keeps signing beside the new one. 0, the default: it stops now

Required range: 0 <= x <= 604800

Response

OK

webhook
object
required
secret
string
required

The signing secret. Shown in this response only; store it now

previous_secret_expires_at
string<date-time> | null
required

Until when deliveries are also signed with the previous secret; null: it stopped now

request_id
string
required

Quote this when asking about the request; also the X-Request-ID header