Skip to main content
POST
Register a webhook endpoint

Authorizations

Authorization
string
header
required

An API key: rl_live_… for real work, rl_test_… for test mode. Create keys on the site. Never put a key in browser code.

Headers

Idempotency-Key
string

A unique key for this request (a UUIDv4 is recommended). See Idempotency.

Maximum string length: 255

Body

application/json
url
string<uri>
required
events
enum<string>[]

Event types to send. Defaults to every type except chapter.step_completed, which is opt-in.

Available options:
chapter.ready,
chapter.queued,
chapter.processing,
chapter.step_completed,
chapter.needs_review,
chapter.succeeded,
chapter.failed,
chapter.canceled,
chapter.expired,
chapter.deleted,
balance.low,
api_key.spend_limit_reached,
ping
description
string
Maximum string length: 200

Response

The endpoint, including its secret.

id
string
Example:

"we_4mN8pQ2rS3tU4vW5xY6zA7"

object
any
livemode
boolean
url
string<uri>
events
enum<string>[]
Available options:
chapter.ready,
chapter.queued,
chapter.processing,
chapter.step_completed,
chapter.needs_review,
chapter.succeeded,
chapter.failed,
chapter.canceled,
chapter.expired,
chapter.deleted,
balance.low,
api_key.spend_limit_reached,
ping
enabled
boolean
description
string | null
api_version
any
created_at
string<date-time>
secret
string
Example:

"whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"