How can i delete a webhook if i dont have the id anymore?

Lets say you created a bunch of webhooks through the api. https://monday.com/developers/v2#mutations-section-webhooks

mutation {
  create_webhook ( board_id: 12593, 
       url: "https://www.webhooks.com/test", event: create_item) {
    board_id
  }
}

but you did not store the id you get from the api. Is it now impossible for us to delete these webhooks?. Because delete webhook requires a unique identifier!

mutation {
  delete_webhook ( id: ??) {
    id
    board_id
  }
}

Hi @mientjan :wave:

Welcome to the monday.com Community! It’s so great to have you :slight_smile:

You’re absolutely correct - without knowing the webhook ID, you cannot delete the webhook integration via the API. You’d need to do so from the board in the monday.com UI instead:

I certainly understand this isn’t ideal, and I’ve since passed this along to our developers as feedback.

While I don’t have an ETA as to when this might be resolved, I’ll let you know as soon as I have any relevant updates to share :slightly_smiling_face:

i tested out creating a webhook but this call does not return the creation id.

So this call (changed some urls and id’s )

mutation {
  create_webhook(board_id: 123123123123, 
      url: "https://some.domain.com/api/v1/webhooks/dapulse/receive", 
      event: change_column_value){
    id board_id
  }
}

returns this

{
  "data": {
    "create_webhook": null
  },
  "account_id": 123123
}

should this not return the webhook id?