The API, Webhooks and the AI Connector
Connect your own systems or an AI assistant to PassportLoop with a key: read passports, save drafts, and get a signed message when something happens.
Every productLast updated 1 December 2026
Quick Answer
In Settings, API, make a key that reads, or reads and saves drafts. Keys never publish. Values saved with a key stay "to confirm" until someone in your team confirms them. Growth, Pro and Agency plans.
PassportLoop has an API for your own systems, webhooks that tell your systems when something happens, and an AI connector for assistants such as Claude and ChatGPT. They come with the Growth, Pro and Agency plans and are being switched on for pilot brands first.
What a key can and cannot do
- Read only: passports, their drafts and releases, item passports, products and templates.
- Read and save drafts: also create passports and save new drafts.
- Never: publish, delete, change billing, settings or the team. Publishing stays your click in the app.
A key works with the role of the person who made it and stops when that person leaves the brand. At most 120 requests a minute per key.
Make a key
- Open Settings, API. Owners and admins see this tab.
- Give the key a name, such as "Our ERP", and choose what it may do.
- Leave Values saved with this key need confirming on, unless the key belongs to a system you fully trust.
- Click Create Key and copy the key at once. We show it only once and keep only a fingerprint of it.
Keep the key in your system's secret settings. Never paste it in a chat or an email. Revoke a key you no longer use with Revoke: it stops at once.
Use the API
The address is https://api.passportloop.com, and every request sends the key as Authorization: Bearer plk_.... Your brand id is shown in Settings, API. The full list of what you can call is in our OpenAPI description. Two examples:
- List passports:
GET /v1/organizations/{brand id}/passports - Save a draft:
POST /v1/organizations/{brand id}/passports/{passport id}/versionswith{"data": {...}, "base_version_no": 3}
Webhooks
Add an address in Settings, API, and choose when we send: when a passport is published, or when a supplier sends documents. Each message is a JSON POST with a PassportLoop-Signature header: t=<time>,v1=<signature>, where the signature is the HMAC-SHA256 of <time>.<body> with your signing secret. Check it before you trust the message. We show the secret once and do not store it.
A webhook that does not answer is tried again in later runs, up to 6 times. After 20 failures in a row we switch it off and tell your admins.
The AI connector
Add a custom connector in your assistant with the address https://api.passportloop.com/mcp and a key as the Bearer token. The assistant can list and read passports, read a template's fields, and with a drafts key create passports and save drafts. Everything it saves is marked "Prepared by an assistant" until someone in your team confirms each value. See Confirming values.
A guide for AI coding agents
If you let an AI coding agent (Claude Code, Codex, Cursor and others) work with PassportLoop:
- Make a key just for the agent, with the smallest scope. Start with Read only.
- Put the key in the agent's environment settings, never in the chat or in code you share.
- Let the agent prepare drafts; check and confirm the values yourself in the app before you publish.
- Revoke the key when the work is done.
Publishing and billing always stay in the app.
Sources
The rules and official pages this guide mentions. Each date is in the text where it is used.
Need a Hand?
Contact support and tell us what you see; we answer by email. In the app, Help and guides and the guide links open these pages.

