POST
/
webhooks
curl -X POST \
 /webhooks \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer <token>" \
 --data '{
    "id": "",
    "events": [
        ""
    ],
    "version": "",
    "enabled": "",
    "url": "",
    "webhookResults": [
        "https:\/\/example.com\/"
    ],
    "status": "",
    "lastSentAt": "",
    "activities": [
        "https:\/\/example.com\/"
    ],
    "tenantId": ""
}'
{
  "id": "<string>",
  "events": [
    "<string>"
  ],
  "version": "<string>",
  "enabled": true,
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Body

The new Webhook resource
events
string[]
version
string
enabled
boolean
url
string
activities
string[]

Response

201
application/json
Webhook resource created
id
string
events
string[]
version
string
enabled
boolean
url
string