Skip to main content

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

https://api-v2.getomni.ai

Authentication

All API requests require authentication using an API key. Include your API key in the request header:
x-api-key: YOUR_API_KEY

Getting Your API Key

You can get your API Key in agent settings.

API Version

The current API version is v1. All endpoints are prefixed with /api/v1/.

Request Format

All requests should use:
  • Content-Type: application/json
  • Headers: Include x-api-key for authentication

Response Format

All responses are returned in JSON format. Successful responses include a 200 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 parameters
  • 401: Unauthorized - Invalid or missing API key
  • 404: Not Found - Resource doesn’t exist
  • 500: Internal Server Error - Server error

Endpoints Overview