This page is for admins and developers who need the full technical detail behind the Law Ruler integration. If you are setting up the integration for the first time, start with the user guides:
You can append optional query parameters to the Kayse webhook URL pasted into the Law Ruler webhook API URL field:
| Parameter | What it does | Example |
|---|---|---|
list_id | Attach synced records to a specific Kayse list (use the List ID from Lists) | &list_id=123 |
list_name | Specify a list by name instead of ID | &list_name=Intake |
list_action | Control the list operation: add, attach, detach, or remove | &list_action=attach |
remove_from_list | Set to true to remove the record from the specified list | &remove_from_list=true |
campaign_id | Associate synced records with a specific Kayse campaign | &campaign_id=42 |
These values are also surfaced in Kayse under Settings -> Integrations -> Law Ruler, so admins can copy the generated webhook URL and confirm which optional parameters they want to add.
You can also set action values in the Law Ruler Params tab instead of embedding everything in the URL:
Key = list_action, Hardcoded Value = remove (or detach / add)Key = remove_from_list, Hardcoded Value = true
If you want to keep one general webhook and route records by rule, use Law Ruler Auto-Add inside each Kayse list:

You can find the List ID on the Lists page:

Not all field changes trigger webhook updates. If a description or non-status field is edited, the webhook may not fire. In that case, click Send via Webhook in Law Ruler to push the record manually.
Once the integration is on, Kayse can import:
Kayse stores the imported record with the matching external source ID, typically the Law Ruler Lead ID, so future webhook updates map back to the correct case and client.
When the matching toggle is on, Kayse sends:
Messages and call records are stored as Notes in Law Ruler — not under SMS or Email tabs. Documents are uploaded separately.
The Send documents to LawRuler option sends files from Kayse out to the CRM. It does not download existing Law Ruler documents back into Kayse.
When a Voice AI campaign call completes, Kayse sends a structured payload to Law Ruler, linked to the matching Lead ID.
A backend request is made to the Law Ruler endpoint:
{client_root}/api-legalrcampaign.aspx
Common query parameters:
LeadID — the Lead ID from the callKey — API token for authenticationOverriddenLead — set to trueTags — set to KayseStatus — based on the post-call result (for example, Qualified – Intake Completed, Sent e-Sign, Review Needed)CellPhone — when Sync enriched phones is enabled, Kayse sends the enriched phone number used for the successful callFirstName and LastName — sent as normal query parameters when they are available on the record_custom is converted to Custom<ID> query parameters, for example: Custom1234=YesCustom1235=1/1/2000Custom1236=NoAll values are converted to strings (booleans, integers, etc.).
Two notes are added under the Client Communications category:
Call Analysis Summary
Includes:
_custom prefixFull Call Transcript (successful calls only)
Formatted as:
[AGENT]: Hello, this is Kayse...
[CLIENT]: Yes, I'm listening...
...An audio recording is uploaded to Law Ruler in the /recordings folder and associated with the matching lead.
File name format:
Kayse VoiceAI Recording – [CampaignName] ([Timestamp]).mp3Kayse VoiceAI Recording ([Timestamp]).mp3Metadata sent with the upload:
RecordingSome Law Ruler tenants hide certain extensions even after a successful upload. Kayse normalizes audio uploads to
.mp3so they are accepted. If you see a missing recording, ask Law Ruler support to confirm which extensions their UI shows.
API call, notes, and recording are all linked to the same Lead ID with exact timestamps so they appear in chronological order in Law Ruler.
If you need to bulk import existing cases instead of waiting for webhooks:
Kayse uses these IDs to match future webhook updates back to the correct cases and clients.
Recording form field, and Kayse renames common audio files to .mp3 before sending them to Law RulerFile form fielddocument_id)How often does data sync from Law Ruler? Webhook data (status-triggered) is real time. Notes and messages are synced hourly.
Can I trigger an update manually? Yes — change the case status, or click Send via Webhook in Law Ruler.
Where do messages from Kayse appear in Law Ruler? Under the Notes tab, in the Client Communications category.
Can I change the webhook later (case types, statuses)? Yes — adjust case types and statuses any time in Law Ruler without breaking the connection.
If you need help, contact support@kayse.ai.
Keywords: LawRuler, Law Ruler, technical reference, webhook parameters, AI campaign payload