Permit Request API

Fetch your trucks and reference lists, submit permit requests, and track your requests and loads.

Overview

Base URL:

https://omnipermits.com/api/v2

Requests and responses use JSON. Send Content-Type: application/json and Accept: application/json with every request.

Authentication

Each company has its own API key. Send it in the X-API-Key header, or as a bearer token. The key identifies your company, so you only see and create data for your own account.

X-API-Key: your_api_key
# or
Authorization: Bearer your_api_key

Errors

StatusMeaning
401The API key is missing or invalid.
404The resource was not found or does not belong to your company.
412Validation failed. The body lists the problems for each field.
{ "message": "Invalid API key" }

Get trucks and reference lists

GET/request/create

Returns everything you need to fill in a request: your trucks with their trailers and axles, the permit types, and the available states. Use the id values from these lists in POST /request.

curl https://omnipermits.com/api/v2/request/create \
  -H "X-API-Key: your_api_key" \
  -H "Accept: application/json"

Response 200

{
  "truck": [
    {
      "id": 15,
      "type_id": 2,
      "type": "Tractor",
      "name": "101",
      "make": "Freightliner",
      "license": "A123456",
      "year": 2020,
      "vin": "1FUJGLDR0LLXXXXXX",
      "state_id": 44,
      "state": "TX",
      "l": 20, "w": 8, "h": 13,
      "trailers": [
        {
          "id": 7, "unit_number": "T-12", "year": 2019, "make": "Fontaine",
          "vin": "...", "license": "...", "state_id": 44,
          "type": "Lowboy", "trailers_type": "...", "state": "TX"
        }
      ],
      "axles": [ { "truck_id": 15, "axle_number": 1, "space": 12 } ],
      "truck_file": null
    }
  ],
  "permit_type": [
    { "id": 6, "value": "Alcohol" },
    { "id": 5, "value": "Oversize" },
    { "id": 4, "value": "Oversize & Overweight" },
    { "id": 3, "value": "Overweight" },
    { "id": 2, "value": "Superload" },
    { "id": 1, "value": "Trip" }
  ],
  "states": [ { "id": 1, "state_code": "AL" } ]
}

Trucks are sorted by unit number. Use truck[].id as truck_id, permit_type[].id as permit_type_id, and states[].id for the state fields.

Submit a permit request

POST/request

Creates a permit request for your company. Company details (contact person, USDOT, FEIN) are filled in from your account.

Required fields

FieldTypeDescription
datestringRequest date.
phonestringContact phone number.
permit_type_idintegerPermit type. Use an id from permit_type in GET /request/create.
start_addressstringOrigin street address.
start_citystringOrigin city.
start_state_idintegerOrigin state. Use an id from states in GET /request/create.
start_zipintegerOrigin ZIP code.
dest_addressstringDestination street address.
dest_citystringDestination city.
dest_state_idintegerDestination state. Use an id from states.
dest_zipintegerDestination ZIP code.
truck_idintegerTruck id from truck in GET /request/create.
description_loadstringDescription of the load.
piecesstringNumber of pieces.
load_weightintegerLoad weight.
load_height_ft, load_height_in, load_width_ft, load_width_in, load_length_ft, load_length_inintegerLoad dimensions, feet and inches.
total_weightintegerTotal weight with the truck/trailer.
total_height_ft, total_height_in, total_width_ft, total_width_in, total_length_ft, total_length_inintegerTotal dimensions with the truck/trailer, feet and inches.
overhang_front_ft, overhang_front_innumberFront overhang, feet and inches.
overhang_rear_ft, overhang_rear_innumberRear overhang, feet and inches.
end_to_end, single_item, stacked, side_by_sideintegerLoad arrangement flags.

Optional fields

FieldTypeDescription
email, email_driverstringContact and driver emails. Must look like an email address.
machinery_make, model, snstringMachinery make, model and serial number.
not_weightintegerWeight is not specified (0 or 1).
legal_load_weight, legal_load_height, legal_load_width, legal_load_lengthnumberLegal limits for the load.
legal_total_weight, legal_total_height, legal_total_width, legal_total_lengthnumberLegal limits for the whole combination.
steer, total, urlstringAdditional values saved with the request.

Lists

Each list is an array of objects. emails is an array of plain strings, and every item must look like an email address.

FieldItem fieldsDescription
axle[]axle_number, spaceTruck axle spacing.
axleList[]lbs, ft, inAxle weights and distances.
stateList[]state_id, date, routeTravel date and route for each state.
drive_list[]nameDriver names.
trailer_list[]nameTrailer unit numbers.
emails[]stringExtra recipients for the request.
Entries in drive_list and trailer_list with an empty name are skipped.

Example request

curl -X POST https://omnipermits.com/api/v2/request \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "date": "2026-11-20",
    "phone": "+1 555 010 1234",
    "email": "dispatch@example.com",
    "permit_type_id": 5,
    "start_address": "100 Main St",
    "start_city": "Houston",
    "start_state_id": 44,
    "start_zip": 77001,
    "dest_address": "200 Oak Ave",
    "dest_city": "Denver",
    "dest_state_id": 6,
    "dest_zip": 80201,
    "truck_id": 15,
    "description_load": "Excavator",
    "pieces": "1",
    "load_weight": 48000,
    "load_height_ft": 11,
    "load_height_in": 6,
    "load_width_ft": 10,
    "load_width_in": 2,
    "load_length_ft": 30,
    "load_length_in": 0,
    "total_weight": 80000,
    "total_height_ft": 13,
    "total_height_in": 6,
    "total_width_ft": 10,
    "total_width_in": 2,
    "total_length_ft": 75,
    "total_length_in": 0,
    "overhang_front_ft": 0,
    "overhang_front_in": 0,
    "overhang_rear_ft": 2,
    "overhang_rear_in": 0,
    "end_to_end": 0,
    "single_item": 1,
    "stacked": 0,
    "side_by_side": 0,
    "stateList": [
      { "state_id": 44, "date": "2026-11-20", "route": "I-45 N" }
    ],
    "drive_list": [ { "name": "John Smith" } ],
    "trailer_list": [ { "name": "T-12" } ],
    "emails": [ "office@example.com" ]
  }'

Response 200

{ "status": true, "isStatus": true }

Response 412

The request was not saved. Fix the listed fields and send it again. The response lists only the fields that failed validation. The example below shows what is returned when the body is empty and every required field is missing.

{
  "status": false,
  "error": {
    "date": [ "The date field is required." ],
    "phone": [ "The phone field is required." ],
    "permit_type_id": [ "The permit type id field is required." ],
    "start_address": [ "The start address field is required." ],
    "start_city": [ "The start city field is required." ],
    "start_state_id": [ "The start state id field is required." ],
    "start_zip": [ "The start zip field is required." ],
    "dest_address": [ "The dest address field is required." ],
    "dest_city": [ "The dest city field is required." ],
    "dest_state_id": [ "The dest state id field is required." ],
    "dest_zip": [ "The dest zip field is required." ],
    "truck_id": [ "The truck id field is required." ],
    "description_load": [ "The description load field is required." ],
    "pieces": [ "The pieces field is required." ],
    "load_weight": [ "The load weight field is required." ],
    "load_height_ft": [ "The load height ft field is required." ],
    "load_width_ft": [ "The load width ft field is required." ],
    "load_length_ft": [ "The load length ft field is required." ],
    "load_height_in": [ "The load height in field is required." ],
    "load_width_in": [ "The load width in field is required." ],
    "load_length_in": [ "The load length in field is required." ],
    "total_weight": [ "The total weight field is required." ],
    "total_height_ft": [ "The total height ft field is required." ],
    "total_width_ft": [ "The total width ft field is required." ],
    "total_length_ft": [ "The total length ft field is required." ],
    "total_height_in": [ "The total height in field is required." ],
    "total_width_in": [ "The total width in field is required." ],
    "total_length_in": [ "The total length in field is required." ],
    "overhang_front_ft": [ "The overhang front ft field is required." ],
    "overhang_front_in": [ "The overhang front in field is required." ],
    "overhang_rear_ft": [ "The overhang rear ft field is required." ],
    "overhang_rear_in": [ "The overhang rear in field is required." ],
    "end_to_end": [ "The end to end field is required." ],
    "single_item": [ "The single item field is required." ],
    "stacked": [ "The stacked field is required." ],
    "side_by_side": [ "The side by side field is required." ]
  }
}

Other validation messages look like "The start zip must be an integer." or "The email format is invalid.". Errors in list items use the item path as the key, for example "emails.0".

List permit requests

GET/request

Returns a paginated list of permit requests created for your company, together with the list of available request statuses. Results are sorted by creation date, 10 requests per page.

Query parameters

ParameterTypeDescription
pageintegerOptional. Page number, starting from 1. Defaults to 1.
curl "https://omnipermits.com/api/v2/request?page=1" \
  -H "X-API-Key: your_api_key" \
  -H "Accept: application/json"

Response 200

{
  "rows": [
    {
      "id": 1024,
      "type": "Oversize",
      "company_name": "Acme Transport LLC",
      "note": null,
      "unit_number": "101",
      "agent": "Anna",
      "status_id": 1,
      "status": "New",
      "contact_person": "John Smith",
      "phone": "+1 555 010 1234",
      "email": "dispatch@example.com,office@example.com",
      "date": "11/20/2026",
      "created_date": "11/17/2026 09:15 AM",
      "not_weight": 0,
      "load_weight": 48000,
      "load_height_ft": 11, "load_height_in": 6,
      "load_width_ft": 10, "load_width_in": 2,
      "load_length_ft": 30, "load_length_in": 0,
      "total_weight": 80000,
      "total_height_ft": 13, "total_height_in": 6,
      "total_width_ft": 10, "total_width_in": 2,
      "total_length_ft": 75, "total_length_in": 0,
      "legal_load_weight": null,
      "legal_load_height": null,
      "legal_load_width": null,
      "legal_load_length": null,
      "legal_total_weight": null,
      "legal_total_height": null,
      "legal_total_width": null,
      "legal_total_length": null,
      "load": {
        "load_weight": 48000,
        "load": [
          { "h": 11, "w": 10, "l": 30 },
          { "h": 6, "w": 2, "l": 0 }
        ]
      },
      "total": {
        "total_weight": 80000,
        "total": [
          { "h": 13, "w": 10, "l": 75 },
          { "h": 6, "w": 2, "l": 0 }
        ]
      }
    }
  ],
  "total": 37,
  "status": [
    { "id": 1, "name": "New", "color": "#0440a2", "sort": 1 }
  ]
}

Request fields (rows[])

FieldTypeDescription
idintegerRequest id.
typestringPermit type name.
company_namestringYour company name.
notestringNote attached to your company account. Can be null.
unit_numberstringUnit number of the truck used in the request.
agentstringNickname of the agent handling the request. null until an agent is assigned.
status_id, statusinteger, stringRequest status id and name. See the status list in the response.
contact_person, phonestringContact details of the request.
emailstringComma-separated list of recipient emails. Falls back to the main email if there are no extra recipients.
datestringRequest date, MM/DD/YYYY.
created_datestringCreation time, MM/DD/YYYY hh:mm AM/PM, Central Time (America/Chicago).
not_weightintegerWeight is not specified (0 or 1).
load_weightnumberLoad weight.
load_height_*, load_width_*, load_length_*numberLoad dimensions, with _ft and _in suffixes for feet and inches.
total_weightnumberTotal weight with the truck.
total_height_*, total_width_*, total_length_*numberTotal dimensions with the truck, feet and inches.
legal_load_weight, legal_load_height, legal_load_width, legal_load_lengthnumberLegal limits for the load.
legal_total_weight, legal_total_height, legal_total_width, legal_total_lengthnumberLegal limits for the whole combination.
loadobjectThe same load data grouped: load_weight and load, an array of two objects {h, w, l}. The first holds feet, the second inches.
totalobjectThe same for the whole combination: total_weight and total in the same {h, w, l} format.

Status fields (status[])

FieldTypeDescription
idintegerStatus id, matches rows[].status_id.
namestringStatus name.
colorstringStatus color.
sortintegerDisplay order.

Response 412

Returned when page is not an integer.

{
  "status": false,
  "error": {
    "page": [ "The page must be an integer." ]
  }
}

List loads

GET/loads

Returns a paginated list of your loads (applications) with their services, drivers, trailers and payments, together with the reference lists of statuses. 10 loads per page. Loads are sorted by status, then by creation date.

Query parameters

ParameterTypeDescription
pageintegerOptional. Page number, starting from 1. Defaults to 1.
curl "https://omnipermits.com/api/v2/loads?page=1" \
  -H "X-API-Key: your_api_key" \
  -H "Accept: application/json"

Response 200

{
  "rows": [
    {
      "id": 2048,
      "date": "11/20/2026",
      "agent": "Anna",
      "invoice": null,
      "truck": "101",
      "company": "Acme Transport LLC",
      "type": "Oversize",
      "status_id": 1,
      "status": "In process",
      "amount": 245.5,
      "total_cost": 200,
      "total": null,
      "steer": null,
      "services": [
        {
          "id": 301,
          "application_id": 2048,
          "state": "TX",
          "status_id": 2,
          "status": "Ordered",
          "status_color": "#0f7a55",
          "progress_id": 1,
          "progress": "In review",
          "progress_color": "#0440a2",
          "extra": "Superload",
          "cost": 200,
          "ccFee": 5.5,
          "permit": "TX-123456",
          "file_name": "permit_TX.pdf",
          "file_url": "/storage/permits/permit_TX.pdf",
          "coords_status": 1,
          "routing": null,
          "status_way": null,
          "sort": 1
        }
      ],
      "drive_list": [ { "application_id": 2048, "name": "John Smith" } ],
      "trailer_list": [ { "application_id": 2048, "name": "T-12" } ],
      "payments": []
    }
  ],
  "total": 12,
  "status": [ { "id": 1, "name": "In process" } ],
  "progress_list": [ { "id": 1, "name": "In review", "color": "#0440a2", "sort": 1 } ],
  "status_list": [ { "id": 1, "name": "Ordered", "color": "#0f7a55", "sort": 1 } ]
}

Load fields (rows[])

FieldTypeDescription
idintegerLoad id.
datestringLoad date, MM/DD/YYYY.
agentstringNickname of the agent handling the load. Can be null.
invoicestringPath to the invoice. null if no invoice has been issued.
truckstringTruck unit number.
companystringYour company name.
typestringApplication type name.
status_id, statusinteger, stringLoad status id and name. See the status list.
amountnumberAmount for the load: service costs, credit card fees and payments.
total_costnumberSum of the service costs.
total, steerstringAdditional values saved with the load.
servicesarrayServices of the load, one per state or extra service, ordered by sort.
drive_listarrayDrivers. Each item has application_id and name.
trailer_listarrayTrailers. Each item has application_id and name.
paymentsarrayPayments received for the load.

Service fields (rows[].services[])

FieldTypeDescription
id, application_idintegerService id and the id of its load.
statestringState code.
status_id, status, status_colorinteger, string, stringService status. See status_list.
progress_id, progress, progress_colorinteger, string, stringService progress. See progress_list.
extrastringService kind: County, City, Pilot, Annual, Route service, Superload, or an empty string for a regular state permit.
costnumberService cost.
ccFeenumberCredit card fee.
permitstringPermit number. null until issued.
file_name, file_urlstringPermit file name and its path, relative to the site root (for example /storage/permits/permit_TX.pdf). null until the file is uploaded.
coords_statusinteger1 if coordinates are saved for the service, otherwise 0.
routing, status_waystringRouting and route status details.
sortintegerDisplay order within the load.

Reference lists

FieldItem fieldsDescription
status[]id, nameLoad statuses, matches rows[].status_id.
status_list[]id, name, color, sortService statuses, matches services[].status_id.
progress_list[]id, name, color, sortService progress values, matches services[].progress_id.

Response 412

Returned when page is not an integer.

{
  "status": false,
  "error": {
    "page": [ "The page must be an integer." ]
  }
}

Get a load

GET/loads/{application_id}

Returns the services of one load: permit numbers, statuses, permit files and coordinates links. Use it to get the permit documents for a load from GET /loads. Services are ordered by sort.

Path parameters

ParameterTypeDescription
application_idintegerLoad id, from rows[].id in GET /loads.
curl https://omnipermits.com/api/v2/loads/2048 \
  -H "X-API-Key: your_api_key" \
  -H "Accept: application/json"

Response 200

{
  "services": [
    {
      "permit_number": "TX-123456",
      "county": 0,
      "city": 0,
      "annual": 0,
      "state": "TX",
      "status": "Ordered",
      "coords_url": "/coords/2048/TX-123456",
      "file_name": "permit_TX.pdf",
      "file_url": "/storage/permits/permit_TX.pdf"
    }
  ],
  "status_list": [
    { "id": 1, "name": "Ordered", "color": "#0f7a55", "sort": 1 }
  ]
}

Service fields (services[])

FieldTypeDescription
permit_numberstringPermit number. null until issued.
county, city, annualintegerService kind flags (0 or 1): county permit, city permit, annual permit. All 0 for a regular state permit.
statestringState code.
statusstringService status name. See status_list.
coords_urlstringPath to the coordinates of the service, relative to the site root. null if no coordinates are saved.
file_namestringPermit file name. null until the file is uploaded.
file_urlstringPermit file URL. null until the file is uploaded.

Reference list

FieldItem fieldsDescription
status_list[]id, name, color, sortAll service statuses.

Response 404

{ "message": "Load not found" }