Skip to main content
POST
Register a URL to receive webhooks

Authorizations

Authorization
string
header
required

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

Body

application/json
url
string
required

An https URL on a public host name or address.

Maximum string length: 2048
description
string
Maximum string length: 200

Response

The endpoint, with its signing 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.