Skip to main content
POST
Create a billing account webhook endpoint

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer <basedash_api_key>

Path Parameters

billingAccountId
string
required

Billing account ID

Body

application/json
url
string
required

URL to POST events to. Must use https, must not contain credentials, and its host must resolve to public IP addresses.

Required string length: 1 - 2000
description
string | null

Your own note about what this endpoint is for

Maximum string length: 500
eventTypes
enum<string>[]

Event types this endpoint receives. An event of any other type is not sent to it. Defaults to every event type.

Required array length: 1 - 2 elements
Available options:
insight.generated,
insight.failed

Response

Webhook endpoint created. Includes the signing secret.

data
object
required