- Docs
- Techvia TMS overview
- API reference
- Carriers API reference
- Create a carrier
Create a carrier
POST /api/public/v1/carriers
Scope: directory.write. MCP tool: create_carrier. Rules and edge cases: Carriers guide.
Request body
Section titled “Request body”Content type application/json. Limits and rules for each field are in the Carriers guide.
| Field | Type | Required | Notes |
|---|---|---|---|
name |
string | no | |
dotNumber |
string | no | |
mcNumber |
string | no | |
scac |
string | no | |
contactName |
string | no | |
phone |
string | no | |
email |
string | no | |
liabilityExpiry |
string (date) | no | |
autoExpiry |
string (date) | no | |
cargoExpiry |
string (date) | no |
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
201 |
Created | PublicCarrier |
409 |
Conflict | ProblemDetails |
422 |
Unprocessable Entity | ProblemDetails |
201 body
Section titled “201 body”| Field | Type | Notes |
|---|---|---|
id |
string (uuid) | |
name |
string | |
mcNumber |
string | |
dotNumber |
string | |
status |
enum CarrierStatus | One of Active, Inactive |
insuranceExpiry |
string (date) | |
phone |
string | |
email |
string | |
scac |
string | |
rowVersion |
integer |
Errors are RFC 7807 problem details; see Errors.