API
REST first. Webhooks always.
Build headless funnels, sync leads, and automate publishes from any stack.
# Create a funnel from a prompt
curl -X POST https://api.magicfunnel.io/v2/funnels \
-H "Authorization: Bearer $MAGIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"AI accounting for solo founders, $29/mo"}'
GET
/v2/funnelsList all funnels in a workspacePOST
/v2/funnelsCreate a new funnel from a promptGET
/v2/funnels/:idRetrieve a funnel and all stepsPOST
/v2/funnels/:id/publishPublish a funnel to the edge networkGET
/v2/leadsQuery captured leads with filtersPOST
/v2/webhooksSubscribe to lead, publish, and conversion events