API Reference

REST API documentation for Rig Terminal. Available on the Dispatch plan.

Base URL

https://api.rigterminal.com

Authentication

All requests require a JWT bearer token. Obtain tokens via the login endpoint. Access tokens expire after 15 minutes; use the refresh token to obtain a new one.

Info

API keys for service-to-service integration are available in Settings → Security → API Keys.

Rate Limits

PlanLimit
Solo60 requests/minute
Fleet500 requests/minute
Dispatch200 requests/minute

Endpoints

MethodEndpointDescription
POST/auth/signupCreate a new account
POST/auth/loginAuthenticate and receive tokens
POST/auth/refreshRefresh an expired access token
GET/fleet/trucksList all trucks
POST/fleet/trucksAdd a new truck
GET/fleet/driversList all drivers
POST/fleet/driversAdd a new driver
GET/loads/searchSearch loads across all sources
POST/loads/scoreGet AI score for a load
POST/loads/bookBook a load
GET/compliance/hos/:driverIdGet HOS clocks for a driver
GET/compliance/violationsList HOS violations
GET/finance/banking/balanceGet checking account balance
POST/finance/payroll/runRun payroll for a pay period
GET/finance/cardsList fleet cards
POST/finance/invoicesCreate an invoice
POST/finance/factoring/submitSubmit a load for factoring
GET/tax/estimateGet tax estimate for current period
GET/tax/iftaGenerate IFTA report

Webhooks

Configure webhook endpoints to receive real-time notifications for events:

SourceEvents
Unit (Banking)Account created, transfer completed, card transaction
Highnote (Cards)Transaction authorized, transaction settled, card status change
FactoringInvoice submitted, funds deposited, invoice disputed
QuickBooks/XeroSync completed, sync error
Twilio (Voice AI)Call started, call completed, rate negotiated

Error Format

All errors return a JSON object with status, error, and message fields. HTTP status codes follow standard conventions: 400 (bad request), 401 (unauthorized), 403 (forbidden), 404 (not found), 429 (rate limited), 500 (server error).