Register subitem webhooks for board that does not contain subitems yet

Hi
I am from BigPicture. I would like to register all types of webhooks for given board including subitems. Currently I am not able to register webhooks for subitems if that board didn’t contain subitems before. Is there any other way to be informed that any subitem has been added to board if we didn’t register such webhook before?
Best regards
Przemek Banasik

Hello there @przemyslaw.banasik,

I am not sure I follow. What do you mean by “register” all types of webhooks?

Hi @Matias.Monday,
Is there a possibility to register (add to board) webhook type create_subitem if given board does not contain subitems yet?

Hello again,

Matias here!

You can not create such a webhook if there has not been a subitem on the board yet.

As a workaround, what your can do is: You can try to create the webhook. If the response is null, then you could use the API to create a subitem and then immediately delete it. After that you should be able to create your webhook.

What do you think?

Cheers,
Matias

Hi,
We will consider it. Thank you!
Cheers

Happy to help @przemyslaw.banasik !!