◆ STEPS
- 01Create a Slack Incoming Webhook.
- 02Deploy a tiny Worker/Lambda that verifies our HMAC + forwards to Slack.
- 03Subscribe via /v1/webhooks with your filters.
◆ CODE · BASH
# 1. Create a webhook (pointing at a proxy that forwards to Slack)
curl -X POST https://fundedapi.com/v1/webhooks \
-H "Authorization: Bearer $FUNDED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-proxy.example.com/slack-forward",
"filters": { "niche": "AI", "hiring": true }
}'
# 2. Your proxy (Node.js, Cloudflare Worker, whatever) receives:
# POST /slack-forward
# Body: { startup: {...}, event: "startup.new" }
# Headers: X-FundedAPI-Signature: sha256=<hmac>
#
# 3. Verify HMAC and forward to Slack:
# POST https://hooks.slack.com/services/XXX/YYY/ZZZ
# Body: { "text": "🎉 ${startup.name} raised ${startup.fundingRound}" }◆ PREREQUISITES
- ▸A FundedAPI key (free). Grab one.
- ▸Set
FUNDED_API_KEYin your environment. - ▸Read the API reference if you need other endpoints.
▶ RELATED RECIPES