Complete guide to integrating Legal Document Classifier into your applications
The Legal Document Classifier API allows you to automatically categorize legal documents with high accuracy. Get started in minutes.
Here's a simple example using cURL to classify a legal document:
curl -X POST https://api.legaldocumentclassifier.com/classify \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "This Service Agreement is entered into between..." }'
All API responses are returned in JSON format:
{ "classification": "Service Agreement", "confidence": 0.94, "categories": [ { "name": "Service Agreement", "confidence": 0.94 }, { "name": "Contract", "confidence": 0.87 } ], "analysis": "This document appears to be a service agreement..." }