Create Webhook
Create a webhook subscriber in the specified organization using the data included in the request.
Org ID
Show optional properties
{
"status": "string",
"providers": [
{}
],
"web_hook_info": {}
}
{
"status": "string",
"name": "string",
"providers": [
"string"
],
"contact": "[email protected]/#vmc-notification-gw",
"web_hook_info": {
"callback_uri": "string",
"callback_headers": {
"callback_headers": "string"
},
"subscribed_categories": [
"string"
],
"subscribed_notification_types": [
"string"
],
"unsubscribed_notification_types": [
"string"
],
"sign_key": "string"
},
"id": "string"
}
The status of the webhook.
name
providers
Team member email or slack channel to be contacted if needed
web_hook_info
Provided webhook id.
CREATED
"CreateWebhookResponse Object"
The creation date of entity.
The update date of entity.
Version of this entity.
Unique ID for this entity.
web_hook_info
The status of the webhook.
name
providers
Team member email or slack channel to be contacted if needed
org_id
The username of the person/app who created the notification type
The username of the person/app who updated the notification type
Bad Request
"ErrorResponse Object"
Message of Error
type
Unauthorized
"CreateWebhookResponse Object"
The creation date of entity.
The update date of entity.
Version of this entity.
Unique ID for this entity.
web_hook_info
The status of the webhook.
name
providers
Team member email or slack channel to be contacted if needed
org_id
The username of the person/app who created the notification type
The username of the person/app who updated the notification type
Forbidden
"CreateWebhookResponse Object"
The creation date of entity.
The update date of entity.
Version of this entity.
Unique ID for this entity.
web_hook_info
The status of the webhook.
name
providers
Team member email or slack channel to be contacted if needed
org_id
The username of the person/app who created the notification type
The username of the person/app who updated the notification type
Not Found
"ErrorResponse Object"
Message of Error
type
Internal Server Error
"ErrorResponse Object"
Message of Error
type
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"providers":["string"],"status:"string","web_hook_info:"object"}' https://{api_host}/api/notification/{orgId}/webhooks