Script anything
the library knows.
A small REST API for scripts, Zapier, Make and n8n, plus signed webhooks when creatives land, finish analysis, or Meta finishes syncing.

“Post our top five creatives to the team every Monday.”
$ curl "$PIPORY/assets/top?metric=roas&days=30&limit=5" \
-H "Authorization: Bearer pip_your_key"
{
"metric_used": "roas",
"revenue_visible": true,
"count": 5,
"creatives": [
{"name": "ugc-maya-field40-gift", "media_type": "video",
"spend": 4210.0, "roas": 3.42, ...},
...
]
}Ten endpoints, one key.
Search creatives, rank winners, read products and Meta ads, and build collections. The key decides the workspace.
Every endpoint, one table.
Base URL api.pipory.com/api/v1/public. Errors come back as {"detail": ...} with a code to branch on.
GET/meThe key's workspace, scopes, role and revenue_visible.GET/assets?q=&tag=&media_type=&limit=&offset=Search creatives, newest first. Every word of q must match.GET/assets/{id}One creative with analysis, links, collections and performance.GET/assets/top?metric=&days=&limit=Creatives ranked by spend, roas, ctr, impressions or purchases.GET/collections?q=&limit=Collections with asset counts.POST/collectionsCreate a collection: name, description?, asset_ids?.POST/collections/{id}/assetsAdd assets to a collection.GET/products?q=&limit=&offset=Products from your Shopify catalog.GET/products/{id or handle}A product and its creatives, best sellers first.GET/ads/summary?days=&ad_id=&limit=Account totals and top ads, or one ad's numbers.Know the moment it happens.
Webhooks post signed JSON to your HTTPS endpoint, retried on failure, with every delivery in the event log. Payloads never carry spend, revenue or ROAS.
Four core events, signed and retried.
Subscribe an endpoint to any of them, and send a signed test event from Settings at any time. Workspaces in the lifecycle beta can also subscribe to 13 events for briefs, creators, reviews and launches.
asset.createdA creative finishes uploading.asset.analyzedPip finishes tagging it (also after a re-analysis).collection.createdA collection is created, from the app, the API or MCP.ad_sync.completedA Meta ads sync finishes.Pipory-Signature: t=1792606757,v1=5f2b...
expected = hmac_sha256(secret, f"{t}.{raw_body}")
valid = compare(expected, v1) and now - t < 300Questions, answered.
More in the developer docs: API keys, public API, webhooks and the MCP server.
Which plans include the API?
Every paid plan: Starter, Growth, Agency and Enterprise. API keys and webhook endpoints cannot be created during the free trial.
How do I authenticate?
Send a workspace API key as a bearer token: Authorization: Bearer pip_... The key decides the workspace, so there is no workspace parameter. A key acts with its creator's current role, narrowed by its scopes.
What are the limits?
120 requests a minute per key, with X-RateLimit-Limit, -Remaining and -Reset on every response and 429 with Retry-After when you go over. Up to 25 active keys and 20 webhook endpoints per workspace.
Can the API upload or tag creatives?
Not today. The write endpoints create collections and add assets to them; uploads and tagging stay in the app.
How do I verify a webhook?
Each delivery carries Pipory-Signature with a timestamp and an HMAC-SHA256 of the timestamp and the raw body, signed with your endpoint secret. Reject anything older than five minutes. After you rotate a secret, the old one keeps signing for 24 hours.
What happens when my endpoint is down?
Pipory retries after 30 seconds, 2 minutes, 10 minutes and 1 hour. After 15 failed deliveries in a row the endpoint is paused; re-enable it from Settings and retry any delivery from the event log.
Your library,
on your terms.
Start a plan, create an API key in Settings, and wire Pipory into the tools you already run.
See plans- Every paid plan
- Scoped API keys
- Signed webhooks