{"openapi":"3.0.3","info":{"title":"wrk.ing API","version":"0.0.1","description":"REST API for the wrk.ing workforce platform. All authenticated endpoints require a Bearer token in the Authorization header."},"servers":[{"url":"http://localhost:3001","description":"Local development"},{"url":"https://api.wrk.ing","description":"Public API"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string"}}},"ValidationError":{"type":"object","properties":{"error":{"type":"string","example":"Validation failed"},"details":{"type":"object"}}}}},"security":[{"bearerAuth":[]}],"tags":[{"name":"Health","description":"Healthcheck and readiness probes"},{"name":"Public Signup","description":"Self-service organization signup"},{"name":"Public","description":"Pricing and public content"},{"name":"Leads","description":"Lead capture"},{"name":"Auth","description":"Login, logout, token refresh, password reset"},{"name":"MFA","description":"Multi-factor authentication enrollment and verification"},{"name":"API Keys","description":"Server-to-server API key management"},{"name":"Organizations","description":"Organization settings and profile"},{"name":"Organizations: Directory","description":"Addresses, contacts, and social links"},{"name":"Company","description":"Company-level configuration"},{"name":"Core Values","description":"Company core values"},{"name":"Places","description":"Office locations and work sites"},{"name":"Navigation","description":"Sidebar and menu structure"},{"name":"Users","description":"User accounts and role assignments"},{"name":"Users: Profile","description":"Current user profile, avatar, and preferences"},{"name":"Users: Identity","description":"Identity documents and social accounts"},{"name":"Employees","description":"Employee records"},{"name":"Employees: History","description":"Position history, events, degrees, and role changes"},{"name":"Positions","description":"Job positions and titles"},{"name":"Teams","description":"Team structure"},{"name":"Compensation","description":"Employee compensation records"},{"name":"PTO Policies","description":"PTO policy definitions and rules"},{"name":"PTO","description":"PTO balances, summaries, and usage tracking"},{"name":"Workflows","description":"Form workflow lifecycle and publishing"},{"name":"Steps","description":"Workflow steps"},{"name":"Element Collections","description":"Grouped form elements"},{"name":"Elements","description":"Individual form elements"},{"name":"Categories","description":"Element categorization"},{"name":"Enums","description":"Enumeration value lists"},{"name":"Roles","description":"User roles"},{"name":"Rights","description":"Granular rights"},{"name":"Permissions","description":"Permission assignments"},{"name":"Resources","description":"Protected resources"},{"name":"Grants","description":"Resource access grants"},{"name":"OGSMs","description":"Objectives, goals, strategies, and measures"},{"name":"Initiatives","description":"Strategic initiatives"},{"name":"Tasks","description":"Task assignment and tracking"},{"name":"Surveys","description":"Survey authoring and publishing"},{"name":"Surveys: Structure","description":"Survey sections and question ordering"},{"name":"Surveys: Results","description":"Survey responses and analytics"},{"name":"Feedback","description":"Peer feedback"},{"name":"Kudos","description":"Recognition and kudos"},{"name":"Dashboard","description":"Dashboard widgets and summaries"},{"name":"Calendar","description":"Calendar events"},{"name":"Cafe","description":"AI assistant cafe"},{"name":"Chat","description":"Messaging"},{"name":"Notifications","description":"In-app notification feed"},{"name":"Platform","description":"Platform metadata and configuration"},{"name":"Packs","description":"Feature pack management"},{"name":"Marketplace","description":"Pack marketplace"},{"name":"Events","description":"Lifecycle event stream"},{"name":"Webhooks","description":"Webhook subscriptions"},{"name":"Audit Log","description":"Audit trail queries"}],"paths":{}}