name, url, events, filters, is_active).curl --location --request PUT '/api/v2/webhooks/subscriptions/' \
--header 'api-key: {{api-key}}' \
--header 'Content-Type: application/json' \
--data '{
"events": [
"ticket.created",
"ticket.closed",
"ticket.phase_changed"
]
}'{
"ok": true,
"code": 0,
"data": {
"id": "string",
"name": "string",
"description": "string",
"url": "string",
"events": [
"string"
],
"filters": {},
"is_active": true,
"secret_preview": "string",
"secret": "string",
"created_by": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
}