REST API Overview
Authentication
All API requests require an X-Internal-Key header with your API key. Generate keys under Settings → API → Keys. Each key can be scoped to specific modules.
Base URL
All endpoints use: https://your-domain.com/api/v1/
Common Endpoints
GET /api/v1/leads — List leads with filtersPOST /api/v1/leads — Create a new leadGET /api/v1/tasks — List tasksPOST /api/v1/invoices — Create invoiceGET /api/v1/autopilot/runs — List automation runs
Webhooks
Configure outbound webhooks under Settings → API → Webhooks. OONH sends POST requests to your URL when events occur: lead.created, invoice.paid, task.completed, sla.breached.
Rate Limits
API requests are limited to 100/minute per API key. Webhook deliveries retry 3 times with exponential backoff.
Was this article helpful?
Related Questions
What exactly does OONH automate?
What kind of businesses use OONH?
How long does it take to set up?
Do I need technical knowledge?