Skip to main content
POST
/
v2
/
webhooks
Create Webhook
curl --request POST \
  --url https://api.kausate.com/v2/webhooks \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "url": "<string>",
  "description": "<string>",
  "api_version": "v1",
  "status": "active",
  "partner_customer_id": "<string>",
  "custom_headers": {}
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "url": "<string>",
  "api_version": "<string>",
  "status": "active",
  "org_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "partner_customer_id": "<string>",
  "custom_headers": {}
}

Authorizations

X-API-Key
string
header
required

Sign up at Kausate.com to get an API key

Body

application/json

Request model for creating a webhook.

name
string
required

Name of the webhook

url
string<uri>
required

URL to receive webhook notifications

Minimum string length: 1
description
string | null

Optional description

api_version
string
default:v1

API version for the webhook

status
enum<string>
default:active

Webhook status

Available options:
active,
inactive
partner_customer_id
string | null

Optional partner customer ID

Maximum string length: 150
custom_headers
Custom Headers · object

Custom request headers to include in webhook requests

Response

Successful Response

Response model for webhook operations.

id
string<uuid>
required

Webhook ID

name
string
required

Name of the webhook

url
string
required

URL to receive webhook notifications

api_version
string
required

API version for the webhook

status
enum<string>
required

Webhook status

Available options:
active,
inactive
org_id
string
required

Organization ID

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

description
string | null

Optional description

partner_customer_id
string | null

Optional partner customer ID

custom_headers
Custom Headers · object

Custom request headers (including Authorization) to include in webhook requests