Authentication
Commission Wizard uses JWT (JSON Web Tokens) for authentication. Include the token in the Authorization header with a Bearer prefix.
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
usernameRequiredstringUser's username
passwordRequiredstringUser's password
{ "username" "admin", "password" "your_password"}{ "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.
API Keys
Generate API keys for external integrations. Currently, authentication uses internal JWT tokens from the login endpoint.
Webhooks
Receive real-time notifications when jobs complete, agents are created, or payments are recorded.
Rate Limits
API requests will be rate limited based on your plan: