API Reference
Integrations

Integrations API

Connect Legistry AI with your existing tools.

Supported Integrations

IntegrationTypeStatus
SlackNotifications & commands✅ Available
SalesforceCRM contract sync✅ Available
HubSpotCRM deal tracking✅ Available
Google DriveDocument sync✅ Available
Microsoft TeamsNotifications✅ Available
ClioLegal practice management✅ Available

Endpoints

MethodPathDescription
GET/integrationsList configured integrations
POST/integrations/:type/connectConnect an integration
DELETE/integrations/:type/disconnectDisconnect
POST/integrations/:type/testTest connection
POST/integrations/:type/syncTrigger sync

Connect Integration

POST /api/v1/integrations/slack/connect
{
  "webhook_url": "https://hooks.slack.com/services/...",
  "channel": "#legal-alerts",
  "notify_on": ["contract_created", "signature_completed", "compliance_alert"]
}

Test Connection

POST /api/v1/integrations/slack/test

Sends a test message to verify the connection is working.


Sync Data

POST /api/v1/integrations/salesforce/sync

Pushes all contracts to the connected Salesforce org.