Skip to main content
POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

rk_live_… or rk_test_…, made in Reedapt under Developers.

Body

application/json
url
string
required

A public https:// address.

Maximum string length: 2048
Example:

"https://example.com/reedapt/webhooks"

description
string | null
Maximum string length: 255
Example:

"Production"

Response

Successful Response

id
string
required
Example:

"we_5d1c9a2f7b3e8a40"

url
string
required
Example:

"https://example.com/reedapt/webhooks"

events
string[]
required

Every endpoint gets every event.

Example:
created_at
string<date-time>
required
object
string
default:webhook_endpoint
Allowed value: "webhook_endpoint"
description
string | null
secret
string | null

Only in the answer that makes the endpoint: keep it to check signatures.

Example:

"whsec_…"