Member API

Add members programmatically using the API.

Use the LeadRoute API to create members from your own systems, CRM, or custom integrations.

API endpoint

POST /api/v1/members

Request body

{
  "directory_id": "dir_abc123",
  "email": "member@example.com",
  "name": "John Smith",
  "phone": "555-1234",
  "company": "Smith Plumbing",
  "categories": ["plumbing", "drain-cleaning"],
  "locations": ["Los Angeles", "Santa Monica"]
}

Response

{
  "id": "mem_xyz789",
  "email": "member@example.com",
  "status": "pending_invitation",
  "created_at": "2024-01-15T10:30:00Z"
}

Authentication

Include your API key in the Authorization header. See the Authentication docs for details.