Send cases and receive real-time updates on relay activity, invitations, and status.
🎯 Overview
📌 TL;DR
Send cases to Lexamica and get notified instantly when partners are matched, invitations are accepted/declined, and status updates are posted. Full visibility into the case lifecycle.
This guide is for you if:
You send referrals to other firms via Lexamica
You want real-time notifications for all case activity
You need to keep your CRM or system in sync with Lexamica
What you'll build:
Case and CaseInvitation mappings
Send cases to the Relay Engine
Webhook subscriptions for relay, invitation, and update events
Multi-event webhook handler
What this does NOT cover:
Receiving cases from other firms
Responding to invitations (you're the sender, not receiver)
📖 Key Terms
Term
Definition
Originator
The firm that creates and sends out a case for referral
Relay Engine
Lexamica's automatic matching system that finds partner firms
Handler
The firm that accepts and handles the referred case
⚙️ Architecture
📋 Prerequisites
Credentials:
Infrastructure:
Foundational Docs:
💡 Step-by-Step Implementation
Step 1: Create Mappings
You'll need two mappings: one for Case data and one for CaseInvitation data.
Case Mapping (for sending and receiving case data):