Skip to main content
POST
Give an endpoint a new signing secret

Authorizations

Authorization
string
header
required

API key, sent as Authorization: Bearer <key>.

Path Parameters

id
string<uuid>
required

Response

The endpoint, with its new secret.

id
string<uuid>
required
environment
enum<string>
required
Available options:
live,
sandbox,
test
url
string
required
description
string | null
required
status
enum<string>
required
Available options:
active,
disabled
secret_prefix
string
required

The first characters of the current secret, to tell secrets apart.

previous_secret_expires_at
string<date-time> | null
required

While a rotation settles, the previous secret also works until this time.

created_at
string<date-time>
required
secret
string
required

The signing secret (whsec_...). Shown only in this answer.