1
Get an API key
Sign up and generate an API key from your dashboard.
Terminal
curl -X POST https://api.dangwire.com/v1/auth \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]", "password": "your-password"}'Step 1 complete
2
Make your first request
Verify your key works by listing your workflows.
Terminal
curl -H "X-API-Key: YOUR_API_KEY" \
https://api.dangwire.com/v1/workflowsStep 2 complete
3
Create a workflow
Define a new workflow with integrations and triggers.
Terminal
curl -X POST https://api.dangwire.com/v1/workflows \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Lead Capture",
"platform": "make",
"trigger": { "type": "webhook" },
"actions": [
{ "app": "google_sheets", "action": "add_row" },
{ "app": "slack", "action": "send_message" }
]
}'Step 3 complete
4
Check build status
After creating a workflow, monitor the build progress.
Terminal
curl -H "X-API-Key: YOUR_API_KEY" \
https://api.dangwire.com/v1/builds/{build_id}
# Response:
# { "status": "building", "progress": 60 }
# { "status": "completed", "download_url": "..." }Step 4 complete
5
Handle webhooks
Listen for events like build completion or order updates.
Terminal
# Configure your webhook endpoint in the dashboard.
# DangWire will POST events to your URL:
# POST https://your-server.com/webhooks/DangWire
# {
# "event": "build.completed",
# "workflow_id": "wf_abc123",
# "data": { "download_url": "https://..." }
# }