LaunchCore API & Template Guide
Dispatch your first idempotent workflow job using Node.js, Python, or cURL in under two minutes.
curl -X POST https://api.launchcore.dev/v1/workflows/dispatch \
-H "Authorization: Bearer $LC_LIVE_KEY" \
-H "Content-Type: application/json" \
-d '{"workflow":"invoice.sync","tenantId":"org_kestrel"}'
import { LaunchCore } from '@launchcore/sdk';
const lc = new LaunchCore(process.env.LC_LIVE_KEY);
await lc.workflows.dispatch('invoice.sync', { tenantId: 'org_kestrel' });
from launchcore import Client
lc = Client(api_key=os.environ["LC_LIVE_KEY"])
lc.workflows.dispatch("invoice.sync", tenant_id="org_kestrel")
2. Bearer Authentication
Include your workspace secret key as an HTTP Authorization: Bearer header over TLS 1.3. Never expose lc_live_ secrets in public browser bundles.
3. HTTP Status Reference
| Code | Meaning |
|---|---|
| 202 Accepted | Event persisted and queued for worker execution. |
| 409 Conflict | Duplicate idempotency key already processed. |
| 429 Too Many Requests | Workspace burst limit exceeded; honor Retry-After header. |
4. Template Folder & Build Notes
The compiled html/ folder runs directly on static hosts (Netlify, Vercel, cPanel, S3) with zero Node tools required. To customize Tailwind v4 design tokens or partials inside source/, run npm install && npm run build.