Skip to content

API Reference

This reference documents all available endpoints in the Mentium TMS API.

Base URL

https://api.mentium.io/v2/tms-api

Authentication

All requests require an API key in the X-API-Key header:

bash
curl -X GET "https://api.mentium.io/v2/tms-api/locations" \
  -H "X-API-Key: your_api_key_here"

See Authentication for details on obtaining and managing API keys.

Available Resources

Common Patterns

Pagination

All list endpoints support pagination:

GET /locations?page=1&page_size=50

Filtering

Filter results using query parameters:

GET /loads?status=in_transit&customer_id=123

Sorting

Sort results using the sort parameter:

GET /locations?sort=-created_at  # Descending by created_at
GET /locations?sort=name         # Ascending by name

Response Codes

CodeDescription
200Success
201Created
204No Content (successful delete)
400Bad Request
401Unauthorized
403Forbidden
404Not Found
422Validation Error
429Rate Limited
500Server Error

Mentium TMS API Documentation