API Documentation
Complete reference for all public APIs. Use these endpoints to integrate your systems with AI-Act.Click.
🔑 Authentication
All API endpoints (except auth) require a Bearer token in the Authorization header.Authorization: Bearer YOUR_JWT_TOKEN
⚡ Rate Limits
Default rate limits are specified per endpoint. Contact support for higher limits.
Authentication
Endpoints for user authentication and authorization
/api/auth/loginUser Login
Authenticate a user and receive JWT tokens for API access.
Request Body
Content-Type: application/json
{
"email": "partner@example.com",
"password": "securepassword"
}Responses
/api/auth/refreshRefresh Token
Refresh an expired JWT token using a refresh token.
Request Body
Content-Type: application/json
Responses
Leads
Endpoints for lead management and retrieval
/api/partners/leadsList Leads
Retrieve a paginated list of leads assigned to your organization.
Responses
/api/partners/leads/{id}Get Lead Details
Retrieve detailed information about a specific lead.
Responses
/api/partners/leads/{id}/statusUpdate Lead Status
Update the status of a lead (contacted, qualified, converted, etc.).
Request Body
Content-Type: application/json
Responses
Analytics
Endpoints for retrieving analytics and reporting data
/api/partners/analytics/overviewGet Analytics Overview
Retrieve high-level analytics including lead counts, conversion rates, and revenue metrics.
Responses
/api/partners/analytics/conversion-funnelGet Conversion Funnel
Retrieve conversion funnel data showing lead progression through stages.
Responses
Commissions
Endpoints for commission tracking and management
/api/partners/commissionsList Commissions
Retrieve a list of all commissions with filtering options.
Responses
/api/partners/commissions/{id}Get Commission Details
Retrieve detailed information about a specific commission.