Authentication
Create a Pipory API key, choose its scopes and send it as a bearer token to the public API and the MCP server.
Every request to the public API and the MCP server carries a workspace API key as a bearer token:
curl https://api.pipory.com/api/v1/public/me \
-H "Authorization: Bearer pip_your_key"
A key belongs to one workspace. It acts as the person who created it, narrowed by the scopes you give it.

Create a key
- Open Settings > Integrations and go to the API keys section. Only workspace Admins can see and manage keys.
- Select Create key.
- Fill in Name (1 to 80 characters). Name it after where it is used, such as "Claude Desktop" or "Zapier", so you know what breaks if you revoke it.
- Under Access, tick the scopes you need. Read is always on.
- Pick when it Expires: Never, In 30 days, In 90 days or In 1 year.
- Select Create key and copy the key from the dialog.
Pipory stores only a SHA-256 hash of the key. If you lose it, revoke it and create a new one.
The same section shows the Base URL to call and a link to the Interactive API reference. Each key in the list shows its first 12 characters, its scopes, who created it, when it was last used and when it expires.
Key format
Keys start with pip_ followed by 43 URL-safe characters. Treat the whole string as a password: keep it in a secret store or environment variable, never in client-side code.
Scopes
| Scope | Label in the app | What it allows |
|---|---|---|
read | Read | Library, collections, products, ads (no money). Every key has it. |
write | Write | Create collections and add assets to them. |
read:money | Money | Spend, revenue, purchases and ROAS. Admins only. |
read covers the read capabilities: Home, Library, Collections, Products, Meta Ads, Stats, Competitors (AdSpy) and Results. Anything that changes data also needs write. Only a workspace Admin can create a key with read:money.
What a key can do
A key never has more access than the person who created it. On every request Pipory checks:
- The key exists, is not revoked and has not expired.
- The workspace still exists.
- The creator is still a member of the workspace and their account is active.
- The creator's current role allows the action, and the action fits the key's scopes. If the creator's role changes, the key changes with it.
- For money fields: the key has
read:money, it was created by an Admin, and the creator's current role can still see revenue. - The workspace is on a paid plan.
If the creator leaves the workspace, their keys stop working with 401.
Plans
API keys work on every paid plan (Starter, Growth, Agency, Enterprise). On the free trial, or without an active plan, requests answer 403 with code upgrade_required and resource: "api", and the Create key button opens the plan picker instead.
Limits
- Up to 25 active keys per workspace. Creating a 26th answers
409; revoke one first. - 120 requests a minute per key. See Rate limits.
Revoke a key
Select Revoke next to the key and confirm with Revoke key. The next request with that key answers 401 with code invalid_api_key. Revoking cannot be undone. To rotate a key, create the new one, switch your integration to it, then revoke the old one.
Signed-in sessions
The public endpoints also accept a signed-in Pipory session token instead of a key, with the workspace chosen by the X-Workspace-Id header, the same way the app calls the API. Scripts and integrations should use API keys.