Translate curl command to mongodb webhook

Hi, after trying to make sense of how to create a webhook, I finally make it work. While the information from the 3rd party service is sending correctly the form submissions to mongodb and also I’m inserting them in my collection I couldn’t add the authentication token and url parameter in the mongodb webhook definition.

My curl command is:

curl --request POST \
--url \
--header 'Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"hook_url": "",
"name": “testwebhook”

I newbie in the webhook world, so I don’t understand where in the mongodb webhook configuration I need to add the following parameters:

--url \
--header 'Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \

If somebody please can help me with this configuration issue. Where in the Realm UI do I need to add this two parameters. Right now my webhook works with System Authentication to bypass all security, but is sending all the different forms from the service and I need only a specific id form that I add in the “xxxx” of the “url”, also the token in the header for security.

Thanks for the help.