The Tickets API provides a full issue-tracking workflow for your TMS operations — from driver incidents and paperwork disputes to load delays and billing questions. Each ticket can carry comments, be assigned to a user, progress through statuses, and optionally receive AI-generated resolution suggestions powered by the AskAI integration. Related controllers handle standalone comments, BOL/POD paperwork issues, and the email accounts that feed tickets automatically.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ShohjahonSohibov/repo-for-agent/llms.txt
Use this file to discover all available pages before exploring further.
TicketsController — /api/tickets
Core ticket management. All endpoints require JWT authentication.
GET /api/tickets
List tickets for the current company. Supports filtering by status, assignee, and date range, plus standard pagination. Required permission:Tickets.View
cURL
GET /api/tickets/{id}
Retrieve full ticket details including its comment thread and status history. Required permission:Tickets.View
The ticket’s database ID.
Ticket ID.
Short summary of the issue.
Full description of the issue.
Current ticket status (e.g.,
Open, InProgress, Resolved, Closed).ID of the user the ticket is assigned to, or
null if unassigned.List of comments attached to the ticket.
POST /api/tickets
Create a new ticket. Required permission:Tickets.Create
Short summary of the issue.
Detailed description of the issue.
Associate the ticket with a specific load, if applicable.
cURL
PUT /api/tickets/{id}
Update ticket fields such as title and description. Required permission:Tickets.Update
The ticket’s database ID.
DELETE /api/tickets/{id}
Delete a ticket. This is a soft delete. Required permission:Tickets.Delete
The ticket’s database ID.
POST /api/tickets/{id}/comments
Add a comment to a ticket. Use this for notes, updates, or inter-team communication related to the issue. Required permission:Tickets.Update
The ticket’s database ID.
The comment text. Markdown is supported.
cURL
PUT /api/tickets/{id}/assign
Assign a ticket to a specific user. Required permission:Tickets.Update
The ticket’s database ID.
ID of the user to assign the ticket to.
PUT /api/tickets/{id}/status
Change the status of a ticket. Required permission:Tickets.Update
The ticket’s database ID.
New status value. Valid values depend on your configuration (e.g.,
Open, InProgress, Resolved, Closed).POST /api/tickets/{id}/ai-suggestions
Request AI-generated resolution suggestions for a ticket. The endpoint sends the ticket’s title and description to AskAI and returns a list of recommended actions or similar resolved tickets. Required permission:Tickets.View
The ticket’s database ID.
List of AI-generated suggestion objects.
Suggested resolution step or action.
Confidence score between 0 and 1.
cURL
Response
AI suggestions require the AskAI integration to be configured in your ELD/TMS settings. If AskAI is not configured, this endpoint returns an empty
suggestions array.CommentsController — /api/comments
Standalone comment management. Comments can be attached to tickets and other entities.
| Method | Endpoint | Permission | Description |
|---|---|---|---|
| GET | /api/comments | Comments.View | List comments |
| GET | /api/comments/{id} | Comments.View | Get a comment by ID |
| POST | /api/comments | Comments.Create | Create a new comment |
| PUT | /api/comments/{id} | Comments.Update | Update a comment |
| DELETE | /api/comments/{id} | Comments.Delete | Delete a comment |
PaperWorkIssuesController — /api/paperwork-issues
Track and resolve BOL (Bill of Lading) and POD (Proof of Delivery) document issues associated with loads.
GET /api/paperwork-issues
List all paperwork issues for the current company. Required permission:PaperworkIssues.View
GET /api/paperwork-issues/{id}
Get details of a specific paperwork issue. Required permission:PaperworkIssues.View
The paperwork issue ID.
POST /api/paperwork-issues
Create a new paperwork issue. Required permission:PaperworkIssues.Create
The load the issue is associated with.
Type of document issue (e.g.,
MissingBOL, MissingPOD, IncorrectSignature).Additional context about the issue.
PUT /api/paperwork-issues/{id}
Update a paperwork issue’s details. Required permission:PaperworkIssues.Update
The paperwork issue ID.
PUT /api/paperwork-issues/{id}/resolve
Mark a paperwork issue as resolved. Sets theresolvedAt timestamp and records the resolving user.
Required permission: PaperworkIssues.Update
The paperwork issue ID.
Optional note describing how the issue was resolved.
cURL
Email management
UpdaterAgent monitors connected email accounts (via Nylas OAuth) and automatically classifies inbound messages — for example, routing rate confirmation emails into the load pipeline.EmailAddressesController — /api/email-addresses
Manage the email accounts connected for monitoring.
| Method | Endpoint | Permission | Description |
|---|---|---|---|
| GET | /api/email-addresses | EmailAddresses.View | List connected email addresses |
| GET | /api/email-addresses/{id} | EmailAddresses.View | Get an email address by ID |
| POST | /api/email-addresses | EmailAddresses.Create | Add an email address |
| PUT | /api/email-addresses/{id} | EmailAddresses.Update | Update an email address |
| DELETE | /api/email-addresses/{id} | EmailAddresses.Delete | Remove an email address |
| POST | /api/email-addresses/{id}/connect | EmailAddresses.Update | Connect email via OAuth (Nylas) |
EmailMessagesController — /api/email-messages
View and reprocess email messages that have been ingested from connected accounts.
| Method | Endpoint | Permission | Description |
|---|---|---|---|
| GET | /api/email-messages | EmailMessages.View | List all ingested email messages |
| GET | /api/email-messages/{id} | EmailMessages.View | Get a specific email message |
| POST | /api/email-messages/{id}/process | EmailMessages.Update | Manually trigger processing of an email |
| POST | /api/email-messages/{id}/classify | EmailMessages.Update | Re-classify an email’s category |