API Reference
Integrate Colex into your applications with our RESTful API
Getting Started
Authentication
All API requests require authentication using API keys
Authorization: Bearer YOUR_API_KEY
Base URL
https://api.colex.tech/v1
Endpoints
Documents
Manage and search legal documents
GET /documents - List documents
POST /documents - Upload document
GET /documents/:id - Get document
POST /documents/search - Search documents
Contracts
Contract management operations
GET /contracts - List contracts
POST /contracts - Create contract
PUT /contracts/:id - Update contract
POST /contracts/:id/analyze - Analyze contract
Webhooks
Subscribe to events and updates
POST /webhooks - Create webhook
GET /webhooks - List webhooks
DELETE /webhooks/:id - Delete webhook