Developer API

Build with izylaw API

Powerful REST API and SDKs to integrate legal workflow automation into your applications. Comprehensive documentation and code examples to get you started quickly.

Quick Start Example

// Initialize the izylaw API client
const izylaw = require('@izylaw/sdk');

const client = new izylaw.Client({
  apiKey: process.env.IZYLAW_API_KEY,
  environment: 'production'
});

// Create a new case
const newCase = await client.cases.create({
  title: "Smith vs. Johnson",
  type: "civil",
  status: "active",
  assignedTo: "user_12345"
});

// Generate a legal document
const document = await client.documents.generate({
  template: "contract",
  data: {
    party1: "John Smith",
    party2: "Jane Doe",
    date: "2025-01-01"
  }
});

console.log('Case created:', newCase.id);
console.log('Document generated:', document.url);

API Features

Enterprise-grade API with developer-friendly features

API Key Authentication

Secure API key-based authentication with OAuth 2.0 support

Rate Limiting

10,000 requests/hour on Pro plan, unlimited on Enterprise

Webhooks

Real-time event notifications for case updates and document generation

REST & GraphQL

Choose between REST API or GraphQL for maximum flexibility

Encrypted Connections

All API calls are made over HTTPS with TLS 1.3

Global CDN

Low latency API endpoints in multiple regions worldwide

API Endpoints

Core endpoints to manage cases, documents, and clients

MethodEndpointDescriptionAuth
GET/api/v1/casesList all casesRequired
POST/api/v1/casesCreate a new caseRequired
GET/api/v1/documentsList all documentsRequired
POST/api/v1/documents/generateGenerate document with AIRequired
GET/api/v1/clientsList all clientsRequired
POST/api/v1/webhooksCreate webhook subscriptionRequired

Official SDKs

Get started quickly with our official client libraries

📦

JavaScript

Available
npm install @izylaw/sdk
🐍

Python

Available
pip install izylaw
🐘

PHP

Available
composer require izylaw/sdk
💎

Ruby

Soon
gem install izylaw
🐹

Go

Soon
go get github.com/izylaw/sdk-go

Java

Soon
Maven/Gradle support

Ready to Start Building?

Get your API key and start integrating izylaw into your applications today. Full documentation and support available.