Can bulk webhooks(deploy keys) be added by gitlab apis automatically?

Hi all experts,

We are using Community Edition 8.15.2 790035f, we need to add bulk webhooks in many projects.
And wondering whether there is one or some apis(or maybe plugins) can be used to add these webhooks?
Then we could add them automatically in script !

As well as deploy keys.

Thanks a lot in advance, and counting on your response.

Well, seems I got how to use from https://docs.gitlab.com/ce/api/projects.html#add-project-hook.
POST /projects/:id/hooks

I don’t know what id is exactly, just 1 or 2?
If current the project is “http://git.intra..com/qa/abc"
How to use , with curl as curl -X POST "http://git.intra.
.com/qa/abc/:1/hooks”?
As well as how to add the parameters?

Hope there are some examples :slight_smile:
Thanks

Is it for system hooks or webhooks?