Skip to main content
POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

API key (sk_test_... or sk_live_...)

Body

application/json
url
string<uri>
required

HTTPS URL to receive webhook events. HTTP URLs are rejected.

Example:

"https://your-app.com/webhooks/kemycard"

events
string[]
required

List of event types to subscribe to. Use ["*"] for all events.

Example:
description
string | null

Optional label for this endpoint

Example:

"Production webhook"

Response

Webhook endpoint created (includes secret)

success
boolean
Example:

true

data
object