API Overview
API access is available on the Business plan. The VaultAP API allows you to programmatically upload invoices, retrieve risk scores, manage vendors, and access audit logs.
Authentication
All API requests require a Bearer token. Generate API keys in Settings > API Keys (Business plan only).
Authorization: Bearer your-api-key-here
Base URL
https://api.vaultap.app/v1
Rate Limits
- Standard plan: Not available
- Business plan: 1,000 requests per minute
- Enterprise plan: Custom limits
Planned Endpoints
| Endpoint | Method | Description |
|---|---|---|
/invoices | POST | Upload an invoice |
/invoices/:id | GET | Get invoice details and risk score |
/invoices | GET | List invoices with filtering |
/vendors | GET | List vendors |
/vendors/:id | GET | Get vendor details |
/audit-log | GET | Export audit trail entries |
Full API documentation with request/response examples is coming in V2. See the Coming Soon page for the full roadmap.
SDKs
Official SDKs for popular languages are planned for V2:
- Node.js / TypeScript
- Python
- Go
Webhooks
Webhook support for real-time event notifications (invoice scored, high-alert triggered, bank change detected) is planned for V2.