KausateKausate Docs
Webhooks

Create Webhook

Create a new webhook for the organization

POST
/v2/webhooks
X-API-Key<token>

Sign up at Kausate.com to get an API key

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.kausate.com/v2/webhooks" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "url": "http://example.com"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "description": "string",
  "url": "string",
  "apiVersion": "string",
  "status": "active",
  "orgId": "string",
  "partnerCustomerId": "string",
  "customHeaders": {
    "property1": "string",
    "property2": "string"
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Last updated on