Skip to content

EndpointSecret

Defined in: src/schema.ts:87

A signing secret attached to an endpoint. Secrets are whsec_ + base64 per the Standard Webhooks spec. Rotation keeps the previous secret verifiable until expiresAt (the grace window); expired secrets are pruned lazily.

Property Type Description Defined in
createdAt string ISO-8601 creation timestamp. src/schema.ts:91
expiresAt? string Set when superseded by rotation; the secret stops signing after this instant. src/schema.ts:93
secret string "whsec_" + base64-encoded random key material. src/schema.ts:89