Agency Backend

One secure hub for every client website.

Route leads from client websites, bots and forms into separated client profiles — without exposing Composio keys in frontend code.

Client separation

Each business gets a client ID, secret token, lead destination, bot ID and notes.

Lead intake API

Websites send leads to /api/leads with client credentials. The hub stores and routes them.

Future automations

Composio/Gmail/Sheets/Botpress/n8n can be connected centrally later.

Standard endpoint

POST /api/leads
{
  "client_id":"client-slug",
  "secret":"client-secret",
  "name":"Lead Name",
  "phone":"+233...",
  "service":"Website",
  "message":"I need a website"
}

Safety rule

No public website should contain your Composio key. Public sites only use client-specific secrets; this hub keeps sensitive integrations server-side.