API keys
An API key (lstk_…) is the credential used by desktop or command-line AI assistants (Claude Desktop, Claude Code, Codex, or a custom agent) and by direct REST API integrations to connect to Logistified. Each key is tied to your single store.
Web-chat apps (claude.ai and ChatGPT) don’t use these keys — they connect a different way. See Connect claude.ai or ChatGPT.
On this page
Section titled “On this page”- Creating a key
- The one-time reveal
- Scopes
- Who created a key
- Revoking a key
Creating a key
Section titled “Creating a key”- Open P&H Cloud Platform (Beta) → LLM / Agent Access.
- In the Create key card, optionally type a Label (for example,
Claude DesktoporLaptop CLI) so you can recognise the key later. - Pick a Scope — Read only (recommended) or Read & write. See Scopes below.
- Click Create key.
The new key appears immediately in a green banner at the top of the page.
The one-time reveal
Section titled “The one-time reveal”After you’ve copied it, the banner goes away and the key appears in the Active keys table — but only by its short prefix, never in full.
Scopes
Section titled “Scopes”| Scope | What it allows |
|---|---|
| Read only | The assistant can read your data but change nothing. The right default for most connections. |
| Read & write | The assistant can additionally operate your purchase orders, transfer orders, stock takes, supplier returns, and reorder rules — see Operating purchase orders and Operating transfers, stock takes & returns. |
Who created a key
Section titled “Who created a key”The Active keys table records who created each key (name and email, taken from the Shopify login of the person who clicked Create key), the scope, your label, and the creation date. This gives you an audit trail when several people in your store can issue keys.
Revoking a key
Section titled “Revoking a key”To turn off a key, click the trash icon on its row in the Active keys table. Revocation takes effect on the assistant’s next request — a revoked key can no longer read any data, and the row is shown struck through and marked revoked.
Revoke a key whenever:
- A laptop or device that held the key is lost.
- Someone who set up an assistant leaves the team.
- You’re rotating credentials as routine hygiene.
See also
Section titled “See also”- Connect a desktop / CLI client — where the key goes for AI assistants.
- REST API authentication — how to use the same key for direct HTTP calls.
- Managing access & security — the full security model.