API Documentation

Build powerful integrations with our RESTful API.

Authentication

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

Authorization: Bearer YOUR_API_KEY

Endpoints

GET/api/v1/dealsList all deals
POST/api/v1/dealsCreate a new deal
GET/api/v1/deals/:idGet deal details
PUT/api/v1/deals/:idUpdate a deal
DELETE/api/v1/deals/:idDelete a deal
GET/api/v1/leadsList all leads
POST/api/v1/leadsCreate a new lead
GET/api/v1/commissionsList commissions
GET/api/v1/teamList team members
GET/api/v1/analyticsGet analytics data

Rate Limits

API requests are limited to 1,000 requests per minute per API key. Exceeding this limit will result in a 429 Too Many Requests response.

Error Handling

The API uses standard HTTP response codes to indicate success or failure.

200Success
400Bad Request
401Unauthorized
404Not Found
500Server Error