Skip to main content

Create webhook

Create a new webhook.

Request Body required
    body object
    url URL to send the webhook to (valid absolute URI via RFC 3986)
    description string
    subscribed_events string[]
    headers object
    property name* string
    state string
    metadata object
Responses

A successful response.


Schema
    webhook object
    id string
    description string
    url string
    subscribed_events string[]
    headers object
    property name* string
    secrets object[]
  • Array [
  • id string
    value string
  • ]
  • state string
    metadata object
    created_at date-time
    updated_at date-time
POST /v1beta1/admin/webhooks

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
Body required
{
"body": {
"url": "string",
"description": "string",
"subscribed_events": [
"string"
],
"headers": {},
"state": "string",
"metadata": {}
}
}
curl / cURL
curl -L -X POST 'http://127.0.0.1:7400/v1beta1/admin/webhooks' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"body": {
"url": "string",
"description": "string",
"subscribed_events": [
"string"
],
"headers": {},
"state": "string",
"metadata": {}
}
}'