Creating a token
1
Open Access tokens in Settings
Sign in to plamotrack and go to Settings → Access tokens.
2
Click New token
Click New token. Give it a descriptive name so you can identify it later — for example, “Claude Desktop”, “backup script”, or “Claude Code”.
3
Choose a permission level
Select the level of access the token needs:
- Read-only — can list and view kits, orders, inventory, retailers, and settings. Enough for an agent that just looks things up.
- Read and write — can also add and edit kits and orders, adjust stock, and import in merge or add-only mode.
4
Set an optional expiry
Optionally choose an expiry — 30, 90, or 365 days. Leave it unset for a token that never expires, or set one if you want automatic cleanup for short-lived use cases.
5
Copy the token
Click Create. Copy the token now — it is shown once only and looks like
ptk_<id>_<secret>. Paste it directly into your MCP client config or store it in your password manager. If you lose it, you’ll need to revoke it and create a new one.Using a token
Pass the token as a Bearer token in theAuthorization header on every request:
/api/…) and the MCP endpoint (/mcp/). Every MCP client and script should send this header — there is no cookie-based fallback.
What a token can’t do
Regardless of permission level, no token can:- Change instance settings
- Run a replace-all import
- Manage (create, view, or revoke) other tokens