Create a webhook subscription

View as Markdown

Authentication

AuthorizationBearer

Your Dial API key, sent as Authorization: Bearer sk_live_...

Request

This endpoint expects an object.
targetUrlstringRequiredformat: "uri"

HTTPS only; not a private/loopback host.

eventTypeslist of enumsRequired

Response

The created subscription. The full signing secret is included once here.
webhookobject

Errors

400
Bad Request Error
401
Unauthorized Error