secret, which is shown only once:curl --location '/api/v1/webhooks' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Order backend",
"url": "https://partner.example.com/hooks/roamic",
"event_types": [
"order.created",
"esim.assigned"
]
}'{
"data": {
"id": 7,
"name": "Order backend",
"url": "https://partner.example.com/hooks/roamic",
"event_types": [
"order.created",
"esim.assigned"
],
"active": true,
"created_at": "2026-10-27T09:00:00Z",
"updated_at": "2026-10-27T09:00:00Z"
},
"secret": "whsec_3f9a1c7e5b2d48f0a6c1e9d4b7a2c5f8"
}