We use cookies

We use cookies and Google Analytics to understand how you use our site and improve your experience. Read our Privacy Policy for details.

Back to Documentation

API Reference

v1.0

Integrate Commission Wizard into your applications with our REST API. All endpoints require authentication unless otherwise specified.

Base URL:https://api.commissionwizard.com/api

Authentication

Commission Wizard uses JWT (JSON Web Tokens) for authentication. Include the token in the Authorization header with a Bearer prefix.

Authorization Header
curl -X GET https://api.commissionwizard.com/api/auth/me \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."

Token Expiration

Access tokens expire after 24 hours. Request a new token using the login endpoint when your token expires.

Endpoints

Request Body

usernameRequired
string

User's username

passwordRequired
string

User's password

Example Request
{
"username" "admin",
"password" "your_password"
}
Example Response
{
"access_token" "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type" "bearer"
}

Jobs

Jobs represent commission processing tasks. Each job processes an AMS file against a carrier file and generates a comparison report.

Agents

Manage agents, commission history, and export reports. Agents are automatically created from AMS data during job processing.

Agent Payments

Track payments made to agents. Balance is calculated as total agent commission minus total active payments.

Coming Soon

API Keys

Generate API keys for external integrations. Currently, authentication uses internal JWT tokens from the login endpoint.

Coming Soon

Webhooks

Receive real-time notifications when jobs complete, agents are created, or payments are recorded.

Coming Soon

Rate Limits

API requests will be rate limited based on your plan:

Starter
100 requests/min
Professional
500 requests/min
Enterprise
Unlimited

AI Assistant

Online

Hi! I'm the Commission Wizard assistant. How can I help you today?