Greypony API

Programmatic watermarking, vault access, and image analytics. Authenticate with gpr_live_* keys from your dashboard.

Authentication

Send your API key in the Authorization: Bearer gpr_live_… header or as x-api-key. Create keys in Dashboard → API keys. Rotate after copying — the full secret is shown once.

POST/api/v1/watermark

Upload an image and receive a watermarked asset with share link and attestation.

Parameters

  • filerequired — JPEG, PNG, or WebP (multipart)
  • titleoptional — display name for the asset
  • watermarkTextoptional — overlay text (all tiers)
  • positionoptional — bottom-right | bottom-left | center | tiled (Business)
  • opacityoptional — 0.1 to 1.0
Example
curl -X POST https://greypony.company/api/v1/watermark \
  -H "Authorization: Bearer gpr_live_..." \
  -F file=@photo.jpg \
  -F watermarkText="© Your Brand"
GET/api/v1/vault

List vault assets for your workspace with view, download, and copy counts.

GET/api/v1/vault/:id/distributions

List distribution records for where an asset was shared.

POST/api/v1/vault/:id/distributions

Log an external post with consent confirmation and visibility.

Parameters

  • platformrequired — instagram | x | palomino | other | …
  • destinationUrlrequired — post URL
  • visibilityrequired — public | private | unlisted | restricted
  • consentConfirmedrequired — must be true
  • metadataoptional — json object
Example
curl -X POST https://greypony.company/api/v1/vault/ASSET_ID/distributions \
  -H "Authorization: Bearer gpr_live_..." \
  -H "Content-Type: application/json" \
  -d '{"platform":"instagram","destinationUrl":"https://instagram.com/p/…","visibility":"public","consentConfirmed":true}'
GET/api/v1/analytics

Workspace image analytics: daily views, top assets, totals, and external distribution counts. Retention follows your plan tier.

How tracking works →

GET/api/v1/usage

Current-month watermark and API call quotas versus plan limits.

Plans & limits

PlanWatermarks/moAPI calls/moAnalytics
Basic1010030 days
Core10001000090 days
Sovereign API10000100000365 days

Errors

  • 401 — missing or invalid API key
  • 403 — plan limit exceeded or feature not available on tier
  • 413 — file exceeds plan upload size
  • 429 — rate limit (retry with backoff)