Create a webhook
documentedCreate a webhook listening to workspace events.
POST /v1/webhooksWebhooksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.folk.app/v1/webhooks" \
-X POST \
-H "Authorization: Bearer {{FOLK_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{\"name\": \"{{$webhook_name}}\", \"targetUrl\": \"{{$webhook_url}}\", \"subscribedEvents\": [{\"eventType\": \"{{$event_type}}\"}]}'