Hi,
I create integration with my service. I want to create webhooks for new projects in my workspace. I can’t find a solution to my problem. I attach my PHP code below. In this topic (Upcoming webhook improvements [Updated: Launched!]) i found information about this feature. What filters should I add?
$this->client->webhooks->createWebhook([
‘filters’ => [
[
‘action’ => ‘added’,
‘resource_subtype’ => ‘project’,
‘resource_type’ => ‘project’
]
],
‘resource’ => $myWorkspaceGid,
‘target’ => $myTarget
]);
I get an error: “Webhooks for larger scoped resources must have at least one filter and all filters must be in our whitelist.”
Regards, PB