Partner API Overview
The Partner API is a small REST surface that lets your backend book, track, cancel, and rate on-demand Guardian jobs on behalf of your end users. It's OpenAPI-described, JWT-authenticated, and paired with signed webhook callbacks so you don't have to poll.
Mental model
Three actors, two channels:
Two things to notice:
- Callbacks do the heavy lifting. Polling
/jobs/{id}/statusis available for backfill and UI refreshes, but you should drive your UX off the signed webhooks. - Scope. You can only see jobs your partner created. Cross-partner access is not a thing.
What you get
- JWT auth. Exchange partner key + secret for a 15-minute access token. Refresh tokens last 7 days.
- Job CRUD. Create, read, patch, cancel, review.
- Real-time signed webhooks. HMAC-SHA256 over the raw body, sent
via
X-Signature. See Callbacks. - OpenAPI spec. Browse and test endpoints interactively in the demo Swagger UI (link below).
Try it now
- Swagger UI (demo) — https://partner-api-demo.g2sentry.com/swagger-ui.html
- Postman collection — download
- Sample app — the CodeSandbox test app
Next
- Workflow — the states a job moves through, and which events trigger each callback.
- API reference — every endpoint, with copy-pasteable
curlexamples. - Callbacks — payload shapes and HMAC verification recipes in Node and Python.