Payroll API
Runs, periods, items, earnings codes, deductions, journal entries.
HR API
Employees, departments, documents, emergency contacts, analytics.
Benefits API
Plans, enrollments, eligibility, life events.
Compliance API
Filings, deadlines, ACA, I-9, tax deposits.
TOKEN-BASED AUTH.
Every API request is authenticated with a signed JWT. Scoped permissions ensure least-privilege access across all service domains.
# Generate key from the Pinkerton dashboard # Settings > API > Create Key
POST /v1/auth/token
Content-Type: application/json
{
"api_key": "pk_live_xxxxxxxx",
"scope": ["payroll:read", "hr:write"]
}GET /v1/payroll/runs Authorization: Bearer eyJhbGciOiJSUzI1NiIs...
Subscribe to real-time events from any Pinkerton service. Webhooks are signed, retried on failure, and include full event payloads.
Fires when a payroll run finishes processing. Includes run ID, period, and summary totals.
Fires on hire, termination, leave, or status transitions. Includes previous and new status.
Fires 30, 14, and 7 days before a filing deadline. Includes filing type and jurisdiction.
Fires when an external integration sync finishes. Includes record counts and error summary.
Python SDK
pip install pinkerton-sdk
Coming SoonTypeScript SDK
npm install @pinkerton/sdk
Coming SoonREST API
Direct HTTP. OpenAPI 3.1 spec available.
Coming Soon