Back to Integrations

REST API

Full programmatic access to InFlow AI

Authentication

All API requests require an API key passed in the X-InFlow-Key header.

curl -H "X-InFlow-Key: inflow_your_api_key_here" \
     https://inflowai.ai/api/zapier/invoices

Generate API keys in Dashboard → Settings → Integrations → API Keys.

Base URL

https://inflowai.ai/api

Endpoints

Invoices

GET
/api/zapier/invoices

List invoices (supports ?status=overdue&limit=100)

POST
/api/zapier/invoices

Create a new invoice

GET
/api/zapier/invoices/:id

Get a single invoice by ID

PATCH
/api/zapier/invoices/:id

Update invoice (status, notes, payment_status)

Webhooks

POST
/api/zapier/webhooks/subscribe

Subscribe to events (invoice.created, invoice.status_changed, escalation.created)

DELETE
/api/zapier/webhooks/:id

Unsubscribe from a webhook

Communications

GET
/api/zapier/communications

List sent communications (reminders, follow-ups)

GET
/api/zapier/communications/:invoiceId

Get communications for a specific invoice

Create Invoice Example

curl -X POST https://inflowai.ai/api/zapier/invoices \
  -H "X-InFlow-Key: inflow_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "invoice_number": "INV-2026-001",
    "debtor_name": "Ahmed Al Rashid",
    "debtor_company": "Gulf Trading LLC",
    "debtor_email": "ahmed@gulftrading.ae",
    "debtor_phone": "+971501234567",
    "amount": 25000,
    "currency": "AED",
    "issue_date": "2026-01-15",
    "due_date": "2026-02-14",
    "language": "en"
  }'

Response Format

All responses return JSON with this structure:

{
  "id": "7e3aa919-b432-4c2b-...",
  "invoice_number": "INV-2026-001",
  "debtor_name": "Ahmed Al Rashid",
  "debtor_company": "Gulf Trading LLC",
  "amount": 25000,
  "currency": "AED",
  "status": "new",
  "payment_status": "unpaid",
  "due_date": "2026-02-14",
  "created_at": "2026-03-01T..."
}

Rate Limits

PlanRequests/minRequests/day
Free301,000
Starter6010,000
Pro12050,000
Enterprise300Unlimited

Error Codes

401Invalid or missing API key
403API key doesn't have permission for this resource
404Invoice or resource not found
422Validation error — check required fields
429Rate limit exceeded — retry after the indicated time