curl --request POST \
--url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/webhooks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://api.example.com/webhooks",
"events": [
"quote.created",
"booking.confirmed"
],
"secret": "webhook-secret-123"
}
'