API Introduction
Welcome to the OmniAI AI Lending API. This API allows you to programmatically manage leads, documents, and webhooks in your AI Lending workspace.Base URL
Authentication
All API requests require authentication using an API key. Include your API key in the request header:Getting Your API Key
You can get your API Key in agent settings.API Version
The current API version isv1. All endpoints are prefixed with /api/v1/.
Request Format
All requests should use:- Content-Type:
application/json - Headers: Include
x-api-keyfor authentication
Response Format
All responses are returned in JSON format. Successful responses include a200 status code.
Rate Limits
API rate limits apply to prevent abuse. Contact support if you need higher limits.Error Handling
Errors are returned with appropriate HTTP status codes:400: Bad Request - Invalid parameters401: Unauthorized - Invalid or missing API key404: Not Found - Resource doesn’t exist500: Internal Server Error - Server error