Standard Bureau CRM API

Use the versioned API for leads, opportunities, pipelines, proposals, deliveries, and agent writes.

Authentication

Authorization: Bearer $CRM_API_TOKEN
Content-Type: application/json
Idempotency-Key: stable-key-for-write

Core Endpoints

Create Lead

{
  "full_name": "Jordan Lee",
  "email": "jordan@example.com",
  "company": "Example Co",
  "source": "referral",
  "tags": ["ai", "proposal"]
}

Create Pipeline

{
  "name": "Partnerships",
  "stages": [
    { "name": "New", "position": 10 },
    { "name": "Qualified", "position": 20 },
    { "name": "Proposal Sent", "position": 30 },
    { "name": "Won", "position": 40, "is_closed": true, "outcome": "won" }
  ]
}

Create Proposal

{
  "title": "Agentic CRM Implementation",
  "contact_id": "ct_abc123",
  "opportunity_id": "opp_abc123",
  "markdown": "# Agentic CRM Implementation\n\n## Scope\n\n- Pipeline CRM\n- Proposal delivery\n- Agent skill"
}

OpenAPI

Open /api/openapi.json