Skip to content
API reference Introduction
API reference Getting started

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:

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/json on POST requests.
  • 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 limit and offset and return total, limit, offset and items. Ranked and summary endpoints take limit only. There are no cursors.
  • Dates. date_from and date_to are YYYY-MM-DD dates in UTC. Without them, days sets a window that ends today (UTC).
  • App links. Most objects carry a url that 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

MethodPathScopePage
GET/mereadGet the key's workspace
GET/assetsreadList or search assets
GET/assets/{asset_id}readGet an asset
GET/assets/topreadTop creatives
GET/collectionsreadList collections
POST/collectionswriteCreate a collection
POST/collections/{collection_id}/assetswriteAdd assets to a collection
GET/productsreadList products
GET/products/{product}readGet a product
GET/ads/summaryreadMeta ads summary
GET/resultsreadResults tracker rows Beta