Skip to main content
POST
Create or update webhook configuration for an application

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Body

application/json

Request payload for creating or updating a webhook

url
string
required

The URL where webhook events will be sent. Must be https and resolve to a public host.

Required string length: 1 - 2048
Example:

"https://example.com/webhook"

headers
WebhookHeaders · object | null

Custom authentication headers to include in webhook requests. Set to null to remove all headers.

Example:

Response

Webhook configuration created or updated successfully

Response containing the upserted webhook configuration

data
Webhook · object
required

The created or updated webhook configuration