Back ยท OpenAPI: /openapi.json
1) Start checkout
POST /api/public/lead
{
"email":"you@company.com",
"company":"Acme",
"use_case":"Need agent checkout routing",
"plan":"starter|dfy"
}
2) After payment, issue/rotate key (same billing email)
POST /api/public/access-key
{
"email":"you@company.com"
}
3) Use key on protected endpoints
Header: x-api-key: dwk_...
POST /v1/intents
GET /v1/intents/{intent_id}
POST /v1/intents/{intent_id}/checkout
Billing status + Stripe webhook
GET /v1/billing/status?email=you@company.com
POST /v1/billing/webhook