Number of results per page
MVMNT API (1.0.0)
The MVMNT API enables you to automate freight brokerage workflows by integrating directly with our Transportation Management System.
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"- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/users/filter
- Productionhttps://api.mvmnt.io/v1/users/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/users/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"and": [
{
"status": {
"equalTo": "ACTIVE"
}
},
{
"roles": {
"contains": "CUSTOMER_REP"
}
},
{
"email": {
"includes": "@example.com"
}
}
]
},
"pageSize": 50
}'{ "data": [ { … } ], "pagination": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
User's roles within the organization (required)
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/users
- Productionhttps://api.mvmnt.io/v1/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "john.doe@example.com",
"name": "John Doe",
"phone": "+1-555-123-4567",
"phoneExt": "123",
"status": "PENDING",
"roles": [
"CUSTOMER_REP"
],
"key": "ERP-USER-12345",
"datUsername": "johndoe_dat",
"mcpUsername": "johndoe_mcp",
"avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"teams": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
},
{
"key": "TEAM-WEST-COAST"
}
]
}'User created successfully
Unique user identifier
User's roles within the organization
Client-defined reference identifier for this user
Profile avatar document ID
Timestamp when user was created
Timestamp when user was last updated
{ "object": "USER", "id": "550e8400-e29b-41d4-a716-446655440000", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "PENDING", "roles": [ "CUSTOMER_REP", "ADMIN" ], "key": "ERP-USER-12345", "datUsername": "johndoe_dat", "mcpUsername": "johndoe_mcp", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "teams": [ { … } ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/users/{id}
- Productionhttps://api.mvmnt.io/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.mvmnt.io/_mock/apis/openapi/users/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful response
Unique user identifier
User's roles within the organization
Client-defined reference identifier for this user
Profile avatar document ID
Timestamp when user was created
Timestamp when user was last updated
{ "object": "USER", "id": "550e8400-e29b-41d4-a716-446655440000", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "PENDING", "roles": [ "CUSTOMER_REP", "ADMIN" ], "key": "ERP-USER-12345", "datUsername": "johndoe_dat", "mcpUsername": "johndoe_mcp", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "teams": [ { … } ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
User's roles (replaces all existing roles)
Profile avatar document ID
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/users/{id}
- Productionhttps://api.mvmnt.io/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.mvmnt.io/_mock/apis/openapi/users/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "john.doe@example.com",
"name": "John Doe",
"phone": "+1-555-123-4567",
"phoneExt": "123",
"status": "PENDING",
"roles": [
"CUSTOMER_REP",
"ADMIN"
],
"key": "ERP-USER-12345",
"datUsername": "johndoe_dat",
"mcpUsername": "johndoe_mcp",
"avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"teams": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
},
{
"key": "TEAM-WEST-COAST"
}
]
}'User updated successfully
Unique user identifier
User's roles within the organization
Client-defined reference identifier for this user
Profile avatar document ID
Timestamp when user was created
Timestamp when user was last updated
{ "object": "USER", "id": "550e8400-e29b-41d4-a716-446655440000", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "PENDING", "roles": [ "CUSTOMER_REP", "ADMIN" ], "key": "ERP-USER-12345", "datUsername": "johndoe_dat", "mcpUsername": "johndoe_mcp", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "teams": [ { … } ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/users/{id}
- Productionhttps://api.mvmnt.io/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.mvmnt.io/_mock/apis/openapi/users/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Request
Search users using OpenSearch-powered full-text and field-specific search.
This endpoint provides fast, indexed search across user data with support for:
- Full-text search across multiple fields
- Field-specific filtering with various operators
- Sorting and pagination
- Saved search preferences
Note: Only active (non-deleted) users are searchable. Soft-deleted records are automatically excluded from all search results.
Response Formats:
flat(default): Returns indexed fields only for faster performancefull: Returns complete user objects with all relationships
Sort options for the search results
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/users/search
- Productionhttps://api.mvmnt.io/v1/users/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/users/search \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"criteria": {
"id": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"name": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"email": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"emailVerified": {
"operator": "TRUE"
},
"phone": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"status": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"roles": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"visibility": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"teamIds": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"teamNames": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"customersCount": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"quotesCount": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"quotesWon": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"quoteWinRate": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"ordersCount": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"ordersTotalRevenue": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"ordersTotalTransportationCost": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"ordersTotalGrossProfit": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"averageGrossProfitPerOrder": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"carriersCount": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"createdAt": {
"operator": "AFTER",
"value": "2025-01-01T00:00:00Z"
},
"lastInvitedAt": {
"operator": "AFTER",
"value": "2025-01-01T00:00:00Z"
}
},
"pagination": {
"pageNumber": 1,
"pageSize": 50
},
"sort": [
{
"field": "createdAt",
"order": "desc"
}
],
"savedSearch": {
"id": "550e8400-e29b-41d4-a716-446655440000"
},
"format": "flat"
}'{ "data": [ { … } ], "pagination": { "pageNumber": 1, "pageSize": 50, "totalPages": 25 }, "totalResults": 0 }