Carrier management operations
- Get a company by ID
MVMNT API (1.0.0)
The MVMNT API enables you to automate freight brokerage workflows by integrating directly with our Transportation Management System.
Postman setup guide: API Clients.
OAuth 2.0 client credentials flow. See Authentication Guide for details.
Headers:
Content-Type: application/x-www-form-urlencodedBody Parameters:
grant_type=client_credentials
client_id=YOUR_CLIENT_ID
client_secret=YOUR_CLIENT_SECRETcurl -X POST https://api.mvmnt.io/oauth2/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET"Status: 200 OK
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer",
"expires_in": 3600
}Response Fields:
access_token: JWT Bearer token to use for API requeststoken_type: AlwaysBearerexpires_in: Token lifetime in seconds (3600 = 1 hour)
Mutating requests (POST, PATCH, DELETE) accept an optional Idempotency-Key header (up to 255 characters). Retrying a request with the same key and the same body returns the original result instead of repeating the operation; reusing a key with a different body fails. Keys are scoped to your organization — keys chosen by other tenants can never collide with yours. Use a stable identifier from your system (for example your own record id plus the action) rather than a random value per attempt.
Filter criteria (optional - omit to return all companies).
Note: deletedAt automatically defaults to { isNull: true } unless explicitly overridden.
- Productionhttps://api.mvmnt.io/v1/companies/filter
- Demo (non-production)https://api.demo.mvmnt.io/v1/companies/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mvmnt.io/v1/companies/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"and": [
{
"invoiceOnly": {
"equalTo": false
}
},
{
"name": {
"includes": "Inc"
}
}
]
},
"pageSize": 50
}'Filtered companies with pagination
Unique company identifier
Custom text to include on invoices for this company
Email address of primary contact
User who created this company (full user details)
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Client-defined reference identifier
When the company was created
When the company was last updated
{ "data": [ { … } ], "pageInfo": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
Custom text to include on invoices for this company
Email address of primary contact
- Productionhttps://api.mvmnt.io/v1/companies
- Demo (non-production)https://api.demo.mvmnt.io/v1/companies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mvmnt.io/v1/companies \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Acme Logistics Inc",
"addressLine1": "123 Main St",
"addressLine2": "Suite 400",
"city": "Chicago",
"country": "USA",
"fax": "+1-555-0123",
"invoiceOnly": false,
"invoiceVerbiage": "Please remit payment within 30 days",
"primaryContactName": "John Smith",
"primaryContactEmail": "john.smith@acmelogistics.com",
"primaryContactPhone": "+1-555-0100",
"key": "ERP-COMPANY-ACME-001"
}'Company created successfully
Unique company identifier
Custom text to include on invoices for this company
Email address of primary contact
User who created this company (full user details)
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Client-defined reference identifier
When the company was created
When the company was last updated
{ "object": "COMPANY", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Acme Logistics Inc", "addressLine1": "123 Main St", "addressLine2": "Suite 400", "city": "Chicago", "country": "USA", "fax": "+1-555-0123", "invoiceOnly": false, "invoiceVerbiage": "Please remit payment within 30 days", "primaryContactName": "John Smith", "primaryContactEmail": "john.smith@acmelogistics.com", "primaryContactPhone": "+1-555-0100", "createdBy": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "key": "ERP-COMPANY-ACME-001", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
- Productionhttps://api.mvmnt.io/v1/companies/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/companies/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.mvmnt.io/v1/companies/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Company found
Unique company identifier
Custom text to include on invoices for this company
Email address of primary contact
User who created this company (full user details)
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Client-defined reference identifier
When the company was created
When the company was last updated
{ "object": "COMPANY", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Acme Logistics Inc", "addressLine1": "123 Main St", "addressLine2": "Suite 400", "city": "Chicago", "country": "USA", "fax": "+1-555-0123", "invoiceOnly": false, "invoiceVerbiage": "Please remit payment within 30 days", "primaryContactName": "John Smith", "primaryContactEmail": "john.smith@acmelogistics.com", "primaryContactPhone": "+1-555-0100", "createdBy": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "key": "ERP-COMPANY-ACME-001", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
Custom text to include on invoices
Email address of primary contact
- Productionhttps://api.mvmnt.io/v1/companies/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/companies/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://api.mvmnt.io/v1/companies/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Acme Logistics Inc",
"addressLine1": "123 Main St",
"addressLine2": "Suite 400",
"city": "Chicago",
"country": "USA",
"fax": "+1-555-0123",
"invoiceOnly": false,
"invoiceVerbiage": "Please remit payment within 30 days",
"primaryContactName": "John Smith",
"primaryContactEmail": "john.smith@acmelogistics.com",
"primaryContactPhone": "+1-555-0100",
"key": "ERP-COMPANY-ACME-001"
}'Company updated successfully
Unique company identifier
Custom text to include on invoices for this company
Email address of primary contact
User who created this company (full user details)
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Client-defined reference identifier
When the company was created
When the company was last updated
{ "object": "COMPANY", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Acme Logistics Inc", "addressLine1": "123 Main St", "addressLine2": "Suite 400", "city": "Chicago", "country": "USA", "fax": "+1-555-0123", "invoiceOnly": false, "invoiceVerbiage": "Please remit payment within 30 days", "primaryContactName": "John Smith", "primaryContactEmail": "john.smith@acmelogistics.com", "primaryContactPhone": "+1-555-0100", "createdBy": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "key": "ERP-COMPANY-ACME-001", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
- Productionhttps://api.mvmnt.io/v1/companies/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/companies/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api.mvmnt.io/v1/companies/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Reference Data
Read-only catalogs (equipment, charge codes, special requirements) referenced by id from other resources.
Every catalog also answers on its short top-level path, so GET /v1/charge-codes and GET /v1/reference-data/charge-codes are the same endpoint. The documented /reference-data/* form is canonical — it keeps the catalogs grouped here as more are added (port codes, cities, zip codes) — and the short form is a convenience alias.