API introduction
The Pipory REST API reads one workspace's creative library, collections, products and Meta ads performance, and can create collections.
The public API is a small, stable REST surface for scripts, Zapier, Make, n8n and AI assistants. It reads through the same workspace-scoped services as Pip, so what a key can see matches what its creator can see in the app.
Base URL
https://api.pipory.com/api/v1/public
Every request needs an API key in the Authorization header:
curl https://api.pipory.com/api/v1/public/me \
-H "Authorization: Bearer pip_your_key"
See Authentication for creating keys and choosing scopes.
Interactive reference
The API serves its own OpenAPI document and a Swagger UI where you can try requests in the browser:
- Swagger UI: api.pipory.com/api/v1/public/docs
- OpenAPI JSON:
https://api.pipory.com/api/v1/public/openapi.json
The OpenAPI document lists only the public endpoints on this page, and it allows cross-origin reads, so you can load it into Postman, Insomnia or a code generator.
Conventions
- JSON in, JSON out. Send
Content-Type: application/jsononPOSTrequests. - Ids are UUIDs. Assets, collections, products and Meta ads are identified by Pipory UUIDs. Products can also be fetched by their Shopify handle.
- One workspace per key. The key decides the workspace. There is no workspace parameter, and an id from another workspace answers
404, the same as an id that does not exist. - Pagination. List endpoints take
limitandoffsetand returntotal,limit,offsetanditems. Ranked and summary endpoints takelimitonly. There are no cursors. - Dates.
date_fromanddate_toareYYYY-MM-DDdates in UTC. Without them,dayssets a window that ends today (UTC). - App links. Most objects carry a
urlthat opens them in the Pipory app. - Only Library assets. Assets that are still in review or staging never appear in API results.
Money fields
Spend, revenue, purchases, ROAS and CPA are only returned to keys that carry the Money scope (read:money) and were created by a workspace Admin. For every other key those fields are left out (or null on Results), and revenue_visible is false. Amounts are never zeroed to hide them. A ranking by roas or purchases falls back to spend order without showing amounts.
Plans
The API, the MCP server and webhooks are included on every paid plan (Starter, Growth, Agency, Enterprise). They are not available on the free trial: requests answer 403 with code upgrade_required.
Endpoints
| Method | Path | Scope | Page |
|---|---|---|---|
GET | /me | read | Get the key's workspace |
GET | /assets | read | List or search assets |
GET | /assets/{asset_id} | read | Get an asset |
GET | /assets/top | read | Top creatives |
GET | /collections | read | List collections |
POST | /collections | write | Create a collection |
POST | /collections/{collection_id}/assets | write | Add assets to a collection |
GET | /products | read | List products |
GET | /products/{product} | read | Get a product |
GET | /ads/summary | read | Meta ads summary |
GET | /results | read | Results tracker rows Beta |