Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Project-scoped API key, e.g. nohead_sk_k7fz0a9c3m2q_<secret>, or nohead_pk_… for a published-only key. Used by servers, CI, the CLI and coding agents.

Headers

Idempotency-Key
string

A unique value (1-255 printable ASCII characters) that makes retrying this request safe. The first response (below 500) is stored for 24 hours per user or API key; retries with the same key and the same request get it again with an Idempotent-Replayed: true header. The same key with a different request is refused with 400; a retry while the first request is still running gets 409.

Required string length: 1 - 255
Nohead-Client
string

First-party client identifier recorded in history (e.g. cli/0.3.1). Informational only.

Path Parameters

webhook_id
string
required

Response

The new secret, with its value.

id
string
required
Example:

"whs_01J9ZQ3F8X5W2K7M4N6P0R1S2T"

object
any
required
webhook_id
string
required
expires_at
string<date-time> | null
required

When it stops signing deliveries; null for the newest secret.

created_at
string<date-time>
required

ISO 8601 timestamp in UTC.

Example:

"2026-09-27T12:00:00.000Z"

secret
string
required

The signing secret (whsec_...), shown only when it is added. Keep it private.