curl --location 'https://api.techrar.com/api/v1/dashboard/admin/integrations/webhooks/' \
--header 'org-id: 70' \
--header 'app-id: 4' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://example.com",
"events": [
"order.created"
],
"is_active": true,
"headers": {
"test": "test"
}
}'{
"id": 3,
"url": "https://example.com",
"secret_key": "810a466b11e0f590a8ee3ff97f6232a35c9598f5cc8f0a721b1a5bf733e85bc6",
"is_active": true,
"events": [
"order.created"
],
"headers": {
"test": "test"
},
"created_at": "2025-08-05T13:34:29.157552+03:00"
}