Create a new webhook subscription. The secret_key will be generated and returned to you.
Request
Body Params application/json
{
"url": "https://myapp.com/api/financialreports-webhook",
"is_active": true,
"include_markdown": false,
"subscribed_filing_types": [
"10-K",
"Annual Report"
]
}
Request Code Samples
curl --location --request POST 'https://api.financialreports.eu/webhooks/' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://myapp.com/api/financialreports-webhook",
"is_active": true,
"include_markdown": false,
"subscribed_filing_types": [
"10-K",
"Annual Report"
]
}'
Responses
application/json {
"id": 1,
"url": "https://myapp.com/api/financialreports-webhook",
"is_active": true,
"include_markdown": false,
"subscribed_filing_types": [
"10-K",
"Annual Report"
],
"secret_key": "whk_sec_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6",
"created_at": "2025-11-15T10:30:00Z",
"updated_at": "2025-11-15T10:30:00Z"
}
Modified at 2025-11-15 06:49:38