Tracknicity Connect API

Connect is currently being tested. Some integrations and billing scenarios still require end-to-end verification.

Overview

Tracknicity Connect lets your company read and update Tracknicity data from other software. It includes:

Quick start

  1. A company admin enables Connect and creates a read-only API key in Settings > Tracknicity Connect. Copy the key when it appears; it is shown only once.
  2. On macOS or Linux, open Terminal and run the commands below. Paste the key at the prompt and press Enter. The key will not be displayed.
echo "Paste your API key:"
read -rs TRACKNICITY_API_KEY
curl -H "Authorization: Bearer $TRACKNICITY_API_KEY" \
  https://api.tracknicity.com/v1/me
unset TRACKNICITY_API_KEY

The response identifies the company, user and credential. To list inventory, use /v1/items instead of /v1/me. If you receive 401, check that the key was copied correctly and has not been revoked. A 403 response can mean Connect or the user's membership is inactive, or the user lacks permission; check the error code.

Treat the key like a password: never share it in chat, commit it to source control, or put it in browser or mobile app code. If it is lost or exposed, revoke it and create another. API keys are for your own server-side integrations; assistants connect using OAuth instead.

Enabling Connect

A company admin turns Connect on in Tracknicity from Settings > Tracknicity Connect or Settings > Billing & subscription.

Turning Connect off does not delete your API keys, assistant connections or webhook subscriptions. The API rejects requests while Connect is inactive, and they work again when Connect is turned back on.

After Connect is on, admins manage it in the Tracknicity Connect group of Settings:

Settings pageWhat you do there
Tracknicity ConnectCreate and revoke API keys.
Connect webhooksCreate and revoke webhook subscriptions. Review delivery history.
Connect usageSee this month's calls by source and request a higher allowance.

Every user (not only admins) can see and disconnect their own AI assistants in Settings > Connected assistants.

Authentication

Send a credential in the Authorization header on every request:

Authorization: Bearer <credential>

There are two kinds of credential.

CredentialWho creates itUsed forFormat
API keyA company admin, in SettingsYour own scripts and integrations calling /v1tnc_live_<32 hex>_<64 hex>
OAuth access tokenIssued when a user approves an AI assistantThe Tracknicity MCP server (Claude, ChatGPT)tnc_at_...

API keys

Keep keys out of source control and client-side code. Treat them like passwords.

OAuth 2.0 for AI assistants

Tracknicity runs its own OAuth 2.0 authorization server at https://api.tracknicity.com. It is built for the Tracknicity MCP server. Claude and ChatGPT use it automatically when you add Tracknicity as a connector, so most users never see these details.

Today, OAuth access tokens are issued only for the MCP resource https://api.tracknicity.com/mcp. The /v1 API rejects them if you send them directly. For your own REST integrations, use an API key.

Flow summary

  1. The client discovers the server from GET /.well-known/oauth-protected-resource and GET /.well-known/oauth-authorization-server.
  2. The client registers itself with Dynamic Client Registration (POST /oauth/register). Client metadata documents (CIMD) are not supported.
  3. The client sends the user to GET /oauth/authorize with response_type=code, client_id, an exact registered redirect_uri, a space-separated scope, a non-empty state, an S256 code_challenge, code_challenge_method=S256 and resource=https://api.tracknicity.com/mcp. Only S256 PKCE is accepted.
  4. The user signs in to Tracknicity, picks a company and approves or denies the request on the consent screen. The consent request expires after 10 minutes.
  5. The client exchanges the code at POST /oauth/token with code, redirect_uri, code_verifier and resource. Public clients registered with token_endpoint_auth_method=none include client_id in the form body. Clients registered with client_secret_basic authenticate using HTTP Basic with their client ID and secret; the secret is returned only at registration and stored only as a hash. The same client authentication is required for refresh and revocation. PKCE is required for both client types.
  6. The client refreshes with grant_type=refresh_token when it was granted offline_access.
EndpointPurpose
GET /.well-known/oauth-authorization-serverAuthorization server metadata (RFC 8414).
GET /.well-known/oauth-protected-resourceProtected resource metadata for the MCP resource.
POST /oauth/registerDynamic Client Registration. Returns 201 with a client_id.
GET /oauth/authorizeStarts authorization. Redirects to the consent screen.
POST /oauth/tokenAuthorization code and refresh token grants.
POST /oauth/revokeRevokes a token and the whole connection it belongs to.

Redirect URIs. Registered redirect URIs must match exactly. The server accepts the Claude and ChatGPT callbacks, loopback URIs (localhost, 127.0.0.1, [::1]) with an explicit path for local development, and any extra HTTPS URIs Tracknicity has added to its allowlist.

Token lifetimes

TokenLifetimeNotes
Authorization codeSingle useBound to the client, redirect URI, PKCE verifier and resource.
Access token15 minutes
Refresh token30 daysOnly with offline_access. Rotates on every use. Reusing an old refresh token revokes the whole connection.

Tracknicity stores only hashes of codes and tokens.

Scopes

ScopeAllowsExtra requirement
connect:meGET /v1/me
inventory:readItems, item stock, purchase orders, serial numbers and tool checkouts
projects:readProject list and project detail
time:readProject time summariesUser needs the budget vs actual hours permission.
financials:readInventory valuationUser must be an admin or have the financial insights permission.
time:writeLogging time (POST /v1/time-entries)
transactions:writeParts requests, stock movements and tool check-in
items:costAdds item cost to item responsesUser needs the item cost permission.
items:priceAdds item price to item responsesUser needs the item price permission.
offline_accessIssues a refresh token

A request must include at least one data scope (any of the first seven). If the user lacks the permission a requested scope needs, consent fails. Permissions are checked again on every request, so removing a permission in Tracknicity takes effect immediately.

Consent. The consent screen shows the client name, the redirect host and the requested scopes. The user chooses one company. Only companies where the user is an active member and Connect is active are offered. Each approval creates one connection for that user, company and client.

Disconnecting assistants. A user can disconnect any assistant from Settings > Connected assistants. The list shows each connection's company, client name, scopes, creation time and last use. Disconnecting invalidates its access and refresh tokens immediately. A client can also call POST /oauth/revoke.

If Connect is turned off, connections stay saved but requests are rejected until Connect is active again.

Base URL

https://api.tracknicity.com/v1

All requests use HTTPS. Responses are JSON.

Request and response envelopes

A successful response wraps its payload in data:

{
  "data": {
    "company": { "id": "acme-av" },
    "user": { "id": "u_123", "admin": true, "permissions": { "viewItemCostAmount": true } },
    "credential": { "id": "4f1c...", "name": "ERP sync", "scope": "read-only" }
  }
}

An error response uses error with a code and a message. Some errors add fields such as billingUrl, requestMoreUrl or scope:

{
  "error": {
    "code": "connect_not_active",
    "message": "Tracknicity Connect is not active for this company.",
    "billingUrl": "https://app.tracknicity.com/dashboard#/company/settings?section=billing"
  }
}

Write endpoints require Content-Type: application/json and a JSON object body of 256 KB or less.

Pagination

List endpoints return a page of results and a cursor.

Query parameterMeaning
limitResults per page. Defaults to 25. The maximum is 50; larger values return 50. Must be a positive integer.
cursorThe nextCursor value from the previous page. Leave it out for the first page.
{
  "data": {
    "items": [ ... ],
    "pagination": { "limit": 50, "nextCursor": "eyJ2IjoxLCJyZXNvdXJjZSI6Iml0ZW1zIi..." }
  }
}

When nextCursor is null, you have reached the last page. Cursors are opaque. Each cursor belongs to one endpoint and one set of filters. Reusing it with a different endpoint or filter returns 400 invalid_cursor. Results are ordered by record ID.

GET /v1/projects/{projectId} pages two lists at once. It uses stagedCursor and deliveredCursor instead of cursor, and returns pagination.stagedItemsNextCursor and pagination.deliveredItemsNextCursor.

Every page is a separate request and counts toward your monthly calls.

Endpoints

"API key" shows the minimum key scope. "OAuth scope" applies to tokens used through the MCP server.

Read endpoints

Method and pathAPI keyOAuth scopeQuery parameters
GET /v1/meread-onlyconnect:menone
GET /v1/itemsread-onlyinventory:readsearch, limit, cursor
GET /v1/items/{itemId}/stockread-onlyinventory:readlimit, cursor
GET /v1/projectsread-onlyprojects:readlimit, cursor
GET /v1/projects/{projectId}read-onlyprojects:readlimit, stagedCursor, deliveredCursor
GET /v1/projects/{projectId}/time-summaryread-onlytime:readnone
GET /v1/purchase-ordersread-onlyinventory:readprojectId, poNumber, limit, cursor
GET /v1/staging-arearead-onlyinventory:readprojectId, limit, cursor
GET /v1/serial-numbersread-onlyinventory:readserialNumber (required), limit, cursor
GET /v1/tool-checkoutsread-onlyinventory:readlimit, cursor
GET /v1/inventory-valuationread-onlyfinancials:readstartDate and endDate (required), limit, cursor

GET /v1/me

Checks a credential. Returns the company, the user, the user's effective permissions and the credential.

{
  "data": {
    "company": { "id": "acme-av" },
    "user": {
      "id": "u_123",
      "admin": false,
      "permissions": {
        "viewItemCostAmount": true,
        "viewItemSellAmount": true,
        "viewBudgetVsActualHours": true,
        "viewFinancialInsights": false
      }
    },
    "credential": { "id": "4f1c0b...", "name": "ERP sync", "scope": "read-only" }
  }
}

For an OAuth connection, credential also has "type": "oauth", and scope lists the granted scopes.

GET /v1/items

Searches active inventory items. search (up to 200 characters) matches model, manufacturer, part number, UPC or description, without regard to case. Leave it out to list all items. cost and price appear only when the user has the matching permission (and, for OAuth, the items:cost or items:price scope).

{
  "data": {
    "items": [
      {
        "id": "p_8fK2",
        "name": "Acme: AMP-200",
        "model": "AMP-200",
        "manufacturer": "Acme",
        "partNumber": "AMP200-BLK",
        "upc": "012345678905",
        "description": "Two-channel amplifier",
        "quantity": 12,
        "cost": 410,
        "price": 649
      }
    ],
    "pagination": { "limit": 25, "nextCursor": null }
  }
}

GET /v1/items/{itemId}/stock

Returns one item and its stock by location (warehouses, vans and staging).

{
  "data": {
    "item": { "id": "p_8fK2", "name": "Acme: AMP-200", "model": "AMP-200", "quantity": 12 },
    "locations": [
      { "id": "loc_main", "name": "Main warehouse", "quantity": 9, "minStockQty": 2, "maxStockQty": 20, "subLocation": "Shelf B" },
      { "id": "loc_van3", "name": "Van 3", "quantity": 3 }
    ],
    "pagination": { "limit": 25, "nextCursor": null }
  }
}

GET /v1/projects

Lists active projects. active reflects the stored project flag.

{
  "data": {
    "projects": [
      { "id": "c_501", "name": "Smith Residence: Theater", "active": true, "shortName": "Theater", "customerId": "c_500" }
    ],
    "pagination": { "limit": 25, "nextCursor": null }
  }
}

serviceOrder and stagingArea appear when they are set on the project.

GET /v1/projects/{projectId}

Returns one project, its parent customer when there is one, and two independently paginated lists: items staged for the project over time (including items since delivered) and items delivered to it. Quantities come from purchase-order and stock-history records. Lines that exist only in D-Tools are not included.

inStagingArea lists what is in the staging area for the project right now, in the same shape as GET /v1/staging-area without project. It returns at most 100 lines, and inStagingAreaTruncated is true when there are more.

{
  "data": {
    "project": {
      "id": "c_501",
      "name": "Smith Residence: Theater",
      "active": true,
      "customer": { "id": "c_500", "name": "Smith Residence" }
    },
    "stagedItems": [
      { "id": "po_77", "name": "Acme - AMP-200", "stagedQuantity": 2, "deliveredQuantity": 0, "itemId": "p_8fK2", "poNumber": "1042", "deliveryComplete": false }
    ],
    "deliveredItems": [],
    "inStagingArea": [
      {
        "id": "po_77",
        "item": { "id": "p_8fK2", "name": "Acme - AMP-200" },
        "stagingArea": { "id": "rack-2", "name": "Rack 2" },
        "fromStock": false,
        "poNumber": "1042",
        "orderedQuantity": 2,
        "receivedQuantity": 2,
        "deliveredQuantity": 0,
        "stagedQuantity": 2
      }
    ],
    "inStagingAreaTruncated": false,
    "notes": "stagedItems lists everything received or staged for this project over time…",
    "pagination": { "limit": 25, "stagedItemsNextCursor": null, "deliveredItemsNextCursor": null }
  }
}

GET /v1/projects/{projectId}/time-summary

Compares budgeted hours (from the project's labor estimate lines) with actual logged hours. The user needs the budget vs actual hours permission.

{
  "data": {
    "project": { "id": "c_501", "name": "Smith Residence: Theater", "active": true },
    "budgetedHours": 40,
    "actualHours": 31.5
  }
}

GET /v1/purchase-orders

Lists purchase-order lines with ordered, received and delivered quantities. Filter by projectId, by poNumber (exact match, any case) or both. Deleted, rejected and from-stock lines are not included.

{
  "data": {
    "purchaseOrders": [
      {
        "id": "po_77",
        "poNumber": "1042",
        "project": { "id": "c_501", "name": "Smith Residence: Theater" },
        "item": { "id": "p_8fK2", "name": "Acme - AMP-200" },
        "orderedQuantity": 2,
        "receivedQuantity": 2,
        "deliveredQuantity": 0
      }
    ],
    "pagination": { "limit": 25, "nextCursor": null }
  }
}

GET /v1/staging-area

Lists everything in the staging area: lines that have been received, including items staged from stock, but not fully delivered. This matches the Staging area report. Each line shows its staging sub-location. A line uses its own active sub-location first, then its project's, and otherwise Default. Filter by projectId. Deleted and rejected lines are not included.

{
  "data": {
    "stagedItems": [
      {
        "id": "po_77",
        "project": { "id": "c_501", "name": "Smith Residence: Theater" },
        "item": { "id": "p_8fK2", "name": "Acme - AMP-200" },
        "stagingArea": { "id": "rack-2", "name": "Rack 2" },
        "fromStock": false,
        "poNumber": "1042",
        "orderedQuantity": 2,
        "receivedQuantity": 2,
        "deliveredQuantity": 0,
        "stagedQuantity": 2
      }
    ],
    "pagination": { "limit": 25, "nextCursor": null }
  }
}

GET /v1/serial-numbers

Finds an exact serial number (any case, up to 250 characters). serialNumber is required here. The export version lets you page through all serial numbers.

{
  "data": {
    "serialNumbers": [
      {
        "id": "sn_9",
        "serialNumber": "AMP200-00031",
        "item": { "id": "p_8fK2", "name": "Acme - AMP-200" },
        "project": { "id": "c_501", "name": "Smith Residence: Theater" },
        "location": "Equipment rack",
        "macAddress": "00:1A:2B:3C:4D:5E",
        "ipAddress": "192.168.1.40"
      }
    ],
    "pagination": { "limit": 25, "nextCursor": null }
  }
}

GET /v1/tool-checkouts

Lists tools that are currently checked out. Archived tools are not included.

{
  "data": {
    "toolCheckouts": [
      {
        "id": "t_12",
        "name": "Cable certifier",
        "make": "Acme",
        "model": "CC-9",
        "serialNumber": "CC9-221",
        "category": "Test equipment",
        "assignment": {
          "type": "user",
          "assignedTo": "Jordan Lee",
          "assignedToId": "u_456",
          "assignedByName": "Sam Park",
          "assignedById": "u_123",
          "checkedOutAt": "2026-11-30T15:04:00Z"
        }
      }
    ],
    "pagination": { "limit": 25, "nextCursor": null }
  }
}

GET /v1/inventory-valuation

Returns valuation records between two dates, inclusive. Both startDate and endDate are required and use YYYY-MM-DD. startDate must not be after endDate. The user must be an admin or have the financial insights permission.

{
  "data": {
    "valuations": [
      { "id": "2026-11-30", "date": "2026-11-30", "inventoryValue": 182340.5, "stagingValue": 22110, "combinedValue": 204450.5 }
    ],
    "pagination": { "limit": 25, "nextCursor": null }
  }
}

GET /v1/mcp/auth-check

Used by the Tracknicity MCP service. Returns {"data":{"authenticated":true}} for a valid credential with active Connect. You do not need it for your own integrations.

Write endpoints

Method and pathAPI keyOAuth scopeBody fieldWhat it does
POST /v1/time-entriesread-writetime:writeentryCreates a time entry for the credential's user, in Pending approval.
POST /v1/part-requestsread-writetransactions:writerequestCreates a parts request to the office for a location or project.
POST /v1/stock-movementsread-writetransactions:writemovementMoves stock from a location to another location or a project, optionally as staged items.
POST /v1/tools/{toolId}/check-inread-writetransactions:writecheckInChecks in a tool that is currently checked out.

Preview, then confirm

Every write takes two calls. Nothing is saved until the second call.

  1. Preview. Send "phase": "preview" and the payload. Do not send a confirmationToken. The response shows what will happen and returns a one-time confirmationToken.
  2. Commit. Send "phase": "commit", the exact same payload and the confirmationToken.
POST /v1/time-entries
Authorization: Bearer tnc_live_...
Content-Type: application/json

{
  "phase": "preview",
  "entry": {
    "customerID": "c_501",
    "itemServiceID": "svc_install",
    "date": "2026-12-04",
    "durationSeconds": 7200,
    "notes": "Rack wiring"
  }
}
{
  "data": {
    "phase": "preview",
    "preview": {
      "entry": { "customerID": "c_501", "itemServiceID": "svc_install", "date": "2026-12-04", "durationSeconds": 7200, "notes": "Rack wiring", "userId": "u_123", "approvalStatus": "pending" },
      "project": { "id": "c_501", "name": "Theater" },
      "serviceItem": { "id": "svc_install", "name": "Installation labor" }
    },
    "confirmationToken": "9b0c...64 hex characters...",
    "expiresAt": "2026-12-04T21:10:00+00:00"
  }
}
{
  "phase": "commit",
  "entry": { "customerID": "c_501", "itemServiceID": "svc_install", "date": "2026-12-04", "durationSeconds": 7200, "notes": "Rack wiring" },
  "confirmationToken": "9b0c..."
}
{ "data": { "phase": "completed", "result": { "entryId": "te_3301" } } }

Rules for confirmation tokens:

Write records created through Connect show Via API or Via MCP in the Tracknicity apps.

POST /v1/time-entries

entry fieldRequiredNotes
customerIDyesProject ID.
itemServiceIDyesLabor or service item ID.
dateyesYYYY-MM-DD.
durationSecondsyes1 to 31,536,000. Without timeRange, it must be a multiple of 900 (15 minutes).
notesnoUp to 2,000 characters.
timeRangeno{ startAt, endAt, timeZone, breakSeconds }. startAt and endAt are UTC ISO timestamps. breakSeconds must be 0 (break deductions are not supported), so durationSeconds must equal the elapsed time between startAt and endAt.

If your company requires start and end times, you must send timeRange. Commit result: { "entryId": "..." }.

POST /v1/part-requests

request fieldRequiredNotes
itemsyes1 to 50 items. Catalog items: { manufacturer, model, quantity, partID }. Custom items: { manufacturer, model, quantity, isCustom: true }. quantity is 1 to 100,000.
toLocationIdone of theseWarehouse or van location ID. Use "" when sending toClientId.
toClientIdone of theseProject ID. Use "" when sending toLocationId.

The requester and destination name are filled in by Tracknicity. The usual new-request notification is sent. Preview shows destination, items and requester. Commit result: { "requestId": "..." }.

POST /v1/stock-movements

movement fieldRequiredNotes
fromLocationIdyesSource warehouse or van.
destinationTypeyeslocation or project.
destinationIdyesDestination location or project ID.
itemsyes1 to 50 { partId, quantity } pairs. quantity is 1 to 100,000.
stagedyestrue stages the items for the project and creates the related stock purchase-order lines. Only allowed when destinationType is project.

Tracknicity checks available stock at the source. Preview shows the source, destination, staged and, for each item, availableAtSource and remainingAtSource. Commit result: { "historyIds": [ ... ] }.

POST /v1/tools/{toolId}/check-in

checkIn fieldRequiredNotes
notesnoCheck-in note for the tool history.

Send "checkIn": {} when there is no note. The tool must still be checked out at commit. Preview shows the tool, who has it, and where it returns to. Commit result: { "toolId": "...", "historyId": "..." }.

Exports

Exports are paginated JSON endpoints, not file downloads or background jobs. Each export route takes the same query parameters and returns the same envelope as its read route. You fetch every page with the returned cursor.

Export routeSame as
GET /v1/exports/itemsGET /v1/items
GET /v1/exports/items/{itemId}/stockGET /v1/items/{itemId}/stock
GET /v1/exports/projectsGET /v1/projects
GET /v1/exports/projects/{projectId}GET /v1/projects/{projectId}
GET /v1/exports/projects/{projectId}/time-summaryGET /v1/projects/{projectId}/time-summary
GET /v1/exports/purchase-ordersGET /v1/purchase-orders
GET /v1/exports/staging-areaGET /v1/staging-area
GET /v1/exports/serial-numbersGET /v1/serial-numbers
GET /v1/exports/tool-checkoutsGET /v1/tool-checkouts
GET /v1/exports/inventory-valuationGET /v1/inventory-valuation

Differences from the read routes:

Scopes, permissions, page limits and metering are the same. Each page counts as one call.

Webhooks

Webhooks send a small signed message to your HTTPS endpoint when a record changes. The message contains IDs only. Call the API if you need the record's details.

Managing subscriptions

Company admins manage webhooks in Settings > Connect webhooks.

Creating a subscription requires active Connect.

Event types

typeaction valuesresource.typeFires when
inventory.itemcreated, updated, deleteditemAn inventory item changes.
inventory.location_stockcreated, updated, deletedlocation_stockAn item's stock record at a location changes.
projectcreated, updated, deletedprojectA project changes.
purchase_ordercreated, updated, deletedpurchase_orderA purchase-order line changes.
time_entrycreated, updated, deletedtime_entryA time entry changes.
tool_checkoutchecked_out, checked_intoolA tool is checked out or checked in.

Payload

Each delivery is a POST with Content-Type: application/json:

{
  "id": "evt_3a7f...64 hex characters...",
  "version": 1,
  "type": "tool_checkout",
  "action": "checked_in",
  "occurredAt": "2026-12-04T20:15:30.123Z",
  "companyId": "acme-av",
  "resource": { "type": "tool", "id": "t_12" }
}
HeaderValue
Tracknicity-Event-IdThe event id.
Tracknicity-TimestampUnix time in seconds when this attempt was signed.
Tracknicity-Signaturev1= followed by a hex HMAC-SHA256 signature.

Verifying signatures

Compute HMAC-SHA256 with your signing secret as the key, over this string:

{Tracknicity-Timestamp}.{Tracknicity-Event-Id}.{raw request body}

Hex-encode the result and compare it with the value after v1= using a constant-time comparison. Use the raw body bytes exactly as received, before any JSON parsing.

import { createHmac, timingSafeEqual } from 'node:crypto';

function verifyTracknicityWebhook(rawBody, headers, secret) {
  const timestamp = headers['tracknicity-timestamp'];
  const eventId = headers['tracknicity-event-id'];
  const signature = (headers['tracknicity-signature'] ?? '').replace(/^v1=/, '');
  const expected = createHmac('sha256', secret)
    .update(`${timestamp}.${eventId}.${rawBody}`)
    .digest('hex');
  return signature.length === expected.length &&
    timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
}

Also check that the timestamp is recent, and store event IDs you have processed so you can ignore repeats.

Delivery and retries

Rate limits and metering

What counts

Counts toward the monthly allowanceDoes not count
Every /v1 request made with a valid API key or OAuth token, including requests that return an error (403, 404, 429 and so on)Requests with a missing, invalid, revoked or expired credential (401)
Each export pageWebhook deliveries
Each MCP tool call that reaches the APINormal use of the Tracknicity apps

Limits

LimitValue
Monthly allowance100,000 calls per company
Per-minute rate120 requests per minute per company, across all keys and connections
Per-minute rate after the monthly allowance is used10 requests per minute

The per-minute window is each calendar minute (UTC). The monthly window starts on your subscription's billing day at midnight UTC, including for yearly plans. Before you have a billing day, it starts on your trial start day. In shorter months the window starts on the last day of the month.

You are never charged for overage. When you reach 100,000 calls, the API keeps serving up to 10 requests per minute until the next window starts.

Company admins and the owner get one email when usage passes 80%, and a banner appears in the dashboard. Admins can ask for a higher allowance from Settings > Connect usage. Tracknicity reviews each request.

Headers

Every response to a request with a valid credential includes:

HeaderMeaning
X-RateLimit-LimitRequests allowed this minute (120, or 10 after the monthly allowance is used).
X-RateLimit-RemainingRequests left this minute.
X-RateLimit-ResetUnix time in seconds when the current minute window ends.
Retry-AfterSeconds to wait. Sent only with a 429.

429 responses

Below the monthly allowance, going over 120 per minute returns:

{ "error": { "code": "rate_limit_exceeded", "message": "The request limit has been reached. Retry after the reset time." } }

After the monthly allowance is used, going over 10 per minute returns:

{
  "error": {
    "code": "monthly_limit_reached",
    "message": "Your company has used its monthly Tracknicity Connect calls. An admin can request more.",
    "requestMoreUrl": "https://app.tracknicity.com/dashboard#/company/settings?section=connect-usage"
  }
}

Wait for Retry-After seconds before you retry.

Connect not active

If Connect is off, scheduled removal has taken effect, the company is inactive or its trial has ended, every request returns 403:

{
  "error": {
    "code": "connect_not_active",
    "message": "Tracknicity Connect is not active for this company.",
    "billingUrl": "https://app.tracknicity.com/dashboard#/company/settings?section=billing"
  }
}

MCP server

The Tracknicity MCP server lets AI assistants search and update your Tracknicity data in a conversation.

https://api.tracknicity.com/mcp

The server is a client of the /v1 API. It never reads the database directly. Each tool call is one /v1 request and is metered the same way. It supports the 2026-07-28 discovery flow and stateless 2025-11-25 clients. Sign-in uses the OAuth flow above.

Connecting from Claude

  1. In Claude, add a custom connector and enter https://api.tracknicity.com/mcp.
  2. Claude opens the Tracknicity sign-in and consent page.
  3. Sign in, choose your company and approve the requested access.

Connecting from ChatGPT

  1. In ChatGPT, add a new connector (app) and enter https://api.tracknicity.com/mcp. Availability and menu names can depend on your ChatGPT plan and settings; the production flow is still being verified.
  2. ChatGPT opens the Tracknicity sign-in and consent page.
  3. Sign in, choose your company and approve the requested access.

Any active company member can connect an assistant once an admin has turned on Connect. The assistant can only do what that user can do, within the scopes they approved. To remove access, use Settings > Connected assistants.

Tools

ToolTypeOAuth scopeWhat it does
search_itemsReadinventory:readSearches inventory by manufacturer, model, part number, UPC or description.
get_item_locationsReadinventory:readShows one item's stock across warehouses, vans and staging.
list_projectsReadprojects:readLists active projects with names and IDs.
get_projectReadprojects:readShows one project with its staged and delivered items.
get_purchase_ordersReadinventory:readLists purchase-order lines with ordered, received and delivered counts. Filters by project, PO number or both.
list_staging_areaReadinventory:readLists everything in the staging area, including items staged from stock, with each line's sub-location and staged quantity. Filters by project.
get_serial_numberReadinventory:readFinds the item, project, install location, MAC and IP address for an exact serial number.
list_tool_checkoutsReadinventory:readLists checked-out tools, who has each one and since when.
get_time_summaryReadtime:readCompares budgeted and actual hours for one project.
get_inventory_valuationReadfinancials:readReturns inventory, staging and combined value between two dates.
log_timeWritetime:writeCreates a time entry for you in Pending approval.
create_part_requestWritetransactions:writeRequests parts from the office for a location or project.
check_out_itemWritetransactions:writeMoves inventory from a warehouse or van to another location or a project.
stage_itemsWritetransactions:writeStages inventory for a project and creates the related stock purchase-order lines.
check_in_toolWritetransactions:writeChecks in a tool that is currently checked out.

Read tools are marked readOnlyHint: true. Write tools are marked destructiveHint: true. List tools accept limit (1 to 50, default 25) and cursor.

Confirming writes

Write tools never save on the first call.

  1. The assistant calls the tool with confirm set to false. Tracknicity returns a preview and a confirmationToken. Nothing is saved.
  2. The assistant shows you the preview and asks you to approve it.
  3. Only after you approve does the assistant call the tool again with the same fields, the confirmationToken and confirm: true.

The token expires after 5 minutes and works only for the exact same request. If you change anything, the assistant must preview again.

Messages the assistant may show

SituationMessage
Monthly allowance used and over 10 per minute"Your company has used its monthly Tracknicity Connect calls. An admin can request more at {usage page}."
Connect not active"Tracknicity Connect is not active for your company. An admin can review billing settings at {billing page}."
Over 120 per minute"Tracknicity Connect is temporarily rate limited. Retry after N seconds."
Token expired or revoked"The Tracknicity connection needs to be renewed. Reconnect the assistant and try again."

Error codes

/v1 API

StatusCodeMeaning
400invalid_requestBody is not a JSON object, is empty, is over 256 KB, or has unsupported fields.
400invalid_jsonBody is not valid JSON.
400invalid_limitlimit is not a positive integer.
400invalid_cursorCursor is malformed or belongs to another endpoint or filter.
400invalid_searchsearch is not a string of 200 characters or fewer.
400invalid_item_idItem ID in the path is invalid.
400invalid_project_idProject ID is invalid.
400invalid_po_numberpoNumber is longer than 100 characters.
400invalid_serial_numberserialNumber is missing or longer than 250 characters.
400invalid_date_rangeA date is not a valid YYYY-MM-DD date, or startDate is after endDate.
400invalid_time_entryThe time entry or time range has unsupported fields.
400invalid_part_requestThe parts request has unsupported fields.
400invalid_stock_movementThe stock movement or one of its items is invalid.
400invalid_tool_check_inThe tool check-in or tool ID is invalid.
400invalid_confirmationConfirmation token is missing or malformed, or was sent with a preview.
400invalid_writeThe write request could not be prepared.
401invalid_api_keyAPI key is missing, malformed, unknown or revoked.
401invalid_tokenOAuth token is invalid, expired, revoked or issued for another resource.
403connect_not_activeConnect is not active for the company. Includes billingUrl.
403membership_inactiveThe credential's user is no longer an active company member.
403insufficient_scopeThe API key is read-only, or the OAuth token lacks the scope in scope.
403permission_deniedThe user lacks the Tracknicity permission for this data.
404not_foundThe endpoint, item or project does not exist.
409invalid_confirmationConfirmation token is unknown or expired.
409confirmation_mismatchConfirmation token does not match this user, operation or payload.
415unsupported_media_typeWrite request did not use application/json.
429rate_limit_exceededOver 120 requests this minute.
429monthly_limit_reachedMonthly allowance used and over 10 requests this minute. Includes requestMoreUrl.
502invalid_write_service_responseThe write could not be confirmed. Retry the commit with the same token.
503write_service_unavailableWrites are temporarily unavailable.
503service_unavailableThe API is temporarily unavailable.
503usage_unavailable, rate_limit_unavailable, billing_anchor_unavailable, connect_configuration_invalidUsage or billing state could not be read. Retry later or contact support.

Write validation errors come from Tracknicity's write service. They use the same error envelope with codes such as invalid-argument (400), failed-precondition (400, for example not enough stock or a tool that is not checked out), permission-denied (403), not-found (404) and already-exists (409). Read the message for details.

OAuth endpoints

OAuth errors use the standard { "error": "...", "error_description": "..." } form.

StatusCodeMeaning
400invalid_requestA required parameter is missing or invalid.
400invalid_client_metadataRegistration metadata is invalid.
400invalid_redirect_uriRedirect URI is not allowed.
400invalid_scopeUnknown or duplicate scope, or no data scope requested.
400invalid_grantCode or refresh token is invalid, expired, already used, or does not match the PKCE verifier.
400invalid_targetresource is not the Tracknicity MCP resource.
400unauthorized_clientThe client is not registered for this grant type.
401invalid_clientClient authentication failed.
403membership_inactiveThe user is no longer an active company member.
404connection_not_foundThe connection does not exist or belongs to someone else.
404request_not_foundThe consent request does not exist.
410request_expiredThe consent request is older than 10 minutes or was already used.

Support

Email support@tracknicity.com. Include your company name, the endpoint or tool, the time of the request (UTC) and the error code. Never send an API key, access token or webhook secret.