BoundaryKitDocumentation
Navigation

Create webhook

POST /v1/webhooks

Parameters

[
  {
    "name": "X-Organization-Id",
    "in": "header",
    "required": true,
    "schema": {
      "type": "string"
    }
  }
]

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Record"
      }
    }
  }
}

Responses

{
  "200": {
    "description": "Request completed.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Record"
        }
      }
    }
  },
  "202": {
    "description": "Queued for processing."
  },
  "403": {
    "description": "Scope denied",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Error"
        }
      }
    }
  },
  "503": {
    "description": "Service unavailable",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Error"
        }
      }
    }
  }
}