Skip to content
techvia.softwareStart free trial

Quickstart

You need a Techvia TMS workspace with API access (see the overview) and admin rights in it.

  1. Open Settings > API keys in the TMS app and name the key.
  2. Tick the scopes: loads.read and directory.read are enough for this page. See scopes for the rest.
  3. Optionally set an expiry date, then copy the key. It starts with tms_ and is shown once. Store it in your secret manager; Techvia keeps only a hash and cannot show it again.

Put it in an environment variable. Never put a key in a URL or query string, and never commit it.

Terminal window
export TMS_KEY=tms_YOUR_KEY

GET /api/public/v1/me answers for any valid key, with no scope needed.

Terminal window
curl -H "Authorization: Bearer $TMS_KEY" https://tms-api.techvia.software/api/public/v1/me
{
"tenantName": "Acme Logistics", "keyName": "Zapier", "scopes": ["loads.read", "loads.write", "billing.read"], "expiresAt": null,
"quota": { "meter": "api.requests", "used": 1204, "limit": 10000, "remaining": 8796, "resetsAt": "2026-12-01T00:00:00+00:00" },
"rateLimits": [
{ "scope": "key", "limit": 60, "windowSeconds": 60 },
{ "scope": "workspace", "limit": 120, "windowSeconds": 60 },
{ "scope": "ip", "limit": 3000, "windowSeconds": 60 }
]
}

quota is your workspace’s monthly request quota. rateLimits are the limits your requests meet (rate limits). /me uses no quota, so it still answers when the quota is used up; it does count against the rate limits.

A 401 means the key is missing, malformed, unknown, revoked or expired. See Errors.

GET /api/public/v1/loads needs loads.read and returns the newest loads first.

Terminal window
curl -H "Authorization: Bearer $TMS_KEY" \
"https://tms-api.techvia.software/api/public/v1/loads?pageSize=2"

The answer is { "items": [...], "page", "pageSize", "total", "hasMore", "sort" }. A new workspace starts with one sample load (number SAMPLE-1, isSample: true). All filters and the full response are in the Loads guide.

Was this page helpful?YesNo