Skip to main content
POST
Create a webhook

Authorizations

__session
string
cookie
required

Clerk session cookie. Authentication is handled by Clerk. Sign in at https://app.dacard.ai/sign-in to obtain a session.

Body

application/json
url
string<uri>
required

Destination URL (must be HTTPS)

Example:

"https://example.com/hooks/dacard"

events
enum<string>[]

Events to subscribe to. Defaults to ["score.completed"] if omitted.

Available options:
score.completed,
subscription.changed

Response

Webhook created (secret included in this response only)

webhook
object