Generates a new, unique secret_key for this webhook. The old key will be invalidated immediately. This action is irreversible.
Request
Body Params application/json
{
"url": "http://example.com",
"is_active": true,
"include_markdown": true,
"subscribed_filing_types": [
"string"
]
}
Request Code Samples
curl --location --request POST 'https://api.financialreports.eu/webhooks//regenerate-secret/' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "http://example.com",
"is_active": true,
"include_markdown": true,
"subscribed_filing_types": [
"string"
]
}'
Responses
application/json
Successfully regenerated the secret key.
{
"secret_key": "whk_sec_new_secret_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2"
}
Modified at 2025-11-15 06:49:38