Authorization: Bearer ********************{
"url": "string",
"eventTypes": [
"string"
],
"description": "string"
}curl --location --request POST 'https://prod.your-api-server.com/webhooks' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "string",
"eventTypes": [
"string"
],
"description": "string"
}'{
"subscription": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"url": "string",
"eventTypes": [
"string"
],
"description": "string",
"isActive": true,
"disabledForFailures": true,
"consecutiveFailures": 0,
"lastDeliveryAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z"
},
"signingSecret": "string"
}