Webhook creation with change_subitem_column_value event returns null

Hi I’m having an issue while trying to create a webhook using your GraphQL endpoint. I don’t have problems creating the webhook using for example the change_column_value event as you can see, here I can get the webhook id in the response

curl --location --request POST 'https://api.monday.com/v2' \
--header 'Authorization: MY_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"mutation { create_webhook (board_id: 3985754441, url: \"https://<SUBDOMAIN>.pipedream.net\", event: change_column_value) { id board_id } }"}'

{"data":{"create_webhook":{"id":"164820786","board_id":3985754441}},"account_id":11028737}

But when I try creating it with change_subitem_column_value event I get no webhook id at all.

curl --location --request POST 'https://api.monday.com/v2' \
--header 'Authorization: MY_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"mutation { create_webhook (board_id: 3985754441, url: \"https://<SUBDOMAIN>.pipedream.net\", event: change_subitem_column_value) { id board_id } }"}'

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

I hope you can give me a hand on this, thanks in advance!
– Jorge

1 Like

Hi @jcortes,

Is the board ID the identifier for your monday board or for the subitems board?

1 Like

Oh I’m not sure I will have to check on that. However how can I create a subitems board and where do I get the board_id from in this case? Thanks for your reply.

Update
I think I’ve got it, I’ve just had to add a subitem to the board and then try again. thanks a lot!