Step 1 – Create a Project and Job with Node Steps

Step 2 – Go to Webhooks under project Menu

Step 3 – Create Webhook

Step 4 – Add Webhook Handlers Configurations



Step 5 – Validate the webhook url

Step 6 – Get a User API Token



Step 6 – Generate a CURL command and Run using Gitbash
ENCODED_API_TOKEN=$(echo -n "6BnnOqW7EicQix9lDAn9MceNtSIQ2LBN" | base64)
curl -X POST \
-H "Authorization: Basic $ENCODED_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"webhook_id": "c6lMILXGYTvR6uaY59ZxhgsWybEfF5uF#hook1",
"payload": {
"key1": "value1",
"key2": "value2"
}
}' \
http://localhost:4440/api/45/webhook/c6lMILXGYTvR6uaY59ZxhgsWybEfF5uF#hook1
Code language: PHP (php)



I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow , and SEO strategies at Wizbrand.
Do you want to learn Quantum Computing?
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at WIZBRAND