v1
latestOpenAPI 3.1.02026-07-24440202.2 KBCreate a webhook subscription
Create a new webhook subscription
post/create_22E_v1
Request body
Response
200
Example response
{
"subscription": {
"id": "Mango1",
"name": "Mangovations1",
"description": "Triggered when assets are deleted.",
"isActive": true,
"definition": {
"targetURL": "https://webhook.site/f4afb103-dd97-4374-a5d6-f0d6188ed3a0",
"customHeaders": {
"jobInformation": "webhook demo"
},
"inclusivePredicates": [
{
"name": "All topics",
"description": "Trigger webhooks whenever a topic is deleted.",
"conditions": [
{
"criteria": "Topic",
"pattern": "*.deleted"
}
]
}
]
}
}
}