Complete reference of all backend Cloud Functions endpoints.
Staging base URL: https://us-central1-pivot-not-production-project.cloudfunctions.net
Authentication & Users
| Method | URL |
|---|
| POST | /auth/send-reset-link |
| POST | /auth/verify-authorization-code |
| POST | /auth/accept-head-office-invitation |
| POST | /auth/accept-employee-invitation |
| POST | /auth/init-session |
| POST | /auth/signup |
| POST | /auth/setup-password |
| POST | /auth/send-head-office-invitation |
| POST | /auth/revoke-head-office-invitation |
| POST | /auth/send-employee-invitation |
| POST | /auth/admin/impersonate |
| POST | /generatePasswordResetLink |
| POST | /handleLocationOwnerSignup |
| POST | /deleteUser |
| POST | /updateUserFromDashboard |
| POST | /checkDirectApplicant |
Companies
| Method | URL |
|---|
| POST | /companiesApi/get-employee-companies |
| POST | /companiesApi/find-company-by-id |
| POST | /companiesApi/companies |
| POST | /companiesApi/create-sandbox-company |
| POST | /companiesApi/update-head-office-locations |
| POST | /findCompanyById |
| POST | /checkUserCreatedCompanies |
| POST | /onCallCopyCompany |
Schedule & Shifts
| Method | URL |
|---|
| POST | /scheduleApi/shifts/ |
| GET | /scheduleApi/shifts/user-shifts |
Attendance & Time Tracking
| Method | URL |
|---|
| POST | /getAttendanceData |
| POST | /findCompanyEmployeeByEmplNumber |
| POST | /getCompanyTimeNew |
| POST | /setEmployeeClockInV2 |
| POST | /setEmployeeClockOutV2 |
| POST | /onCallEmployeeBreakToggler |
| POST | /employeeBreakToggler |
Requests (Time Off / Availability)
| Method | URL |
|---|
| GET | /requests/ |
| POST | /requests/ |
| PUT | /requests/:id |
Messaging & Chat
| Method | URL |
|---|
| POST | /fetchUnreadMessages |
| POST | /updateDialogueLastMessage |
| POST | /cleanupMentionNotifications |
Posts & Social Feed
| Method | URL |
|---|
| POST | /getCompanyPosts |
| POST | /getVisiblePosts |
| POST | /getEmployeesInRole |
| POST | /schedulePost |
| POST | /cancelScheduledPost |
| POST | /publishScheduledPostNow |
| POST | /reschedulePost |
| POST | /publishScheduledPostQueue |
Notifications
| Method | URL |
|---|
| POST | /fetchNotificationsV3 |
| POST | /flattenNotifications |
| POST | /sendPushNotification |
Dashboard & Analytics
| Method | URL |
|---|
| POST | /getDashboardLaborCostPerHour |
| POST | /getDashboardSales |
| POST | /getDashboardSPLH |
| POST | /onCallCalculateLaborCost |
| POST | /onCallCalculateSales |
| POST | /onCallFetchRealtimeSalesByCompany |
POS Sync (Employee Matching)
| Method | URL |
|---|
| POST | /posSyncApi/sync-pos-employees |
| POST | /posSyncApi/load-cached-pos-employees |
| POST | /posSyncApi/link-pos-employee |
| POST | /posSyncApi/create-bulk-pos-employees |
| POST | /posSyncApi/get-pivot-employees |
Integrations — Lightspeed
| Method | URL |
|---|
| POST | /getLightspeedCompanies |
| POST | /getLightspeedSearchedEmployees |
Integrations — Clover
| Method | URL |
|---|
| POST | /connectClover |
| POST | /disconnectClover |
| POST | /cloverWebHookHandler |
| POST | /getCloverSearchedEmployees |
Integrations — Clover API Key
| Method | URL |
|---|
| POST | /connectCloverApiKey |
| POST | /disconnectCloverApiKey |
| POST | /verifyCloverApiKey |
| POST | /refreshCloverApiKeyEmployees |
| POST | /resyncCloverApiKeySales |
Integrations — Givex
| Method | URL |
|---|
| POST | /verifyGivex |
| POST | /getGivexSearchedEmployees |
| POST | /givexRepollWebhook |
Integrations — Cluster
| Method | URL |
|---|
| POST | /verifyClusterSettings |
Integrations — Veloce
| Method | URL |
|---|
| POST | /getVeloceSearchedEmployees |
Integrations — Nethris / Employeur D
| Method | URL |
|---|
| POST | /getEmployeurDSearchedEmployees |
Integrations — Libro
| Method | URL |
|---|
| POST | /getLibroCompanies |
Integrations — Maitre D
| Method | URL |
|---|
| POST | /maitreDUpload |
Integrations — Myr
| Method | URL |
|---|
| POST | /storeMyrSales |
Billing (Stripe)
| Method | URL |
|---|
| POST | /stripeWebHookHandler |
| POST | /onCallCreateSetupIntent |
| POST | /onCallAttachPaymentMethod |
| POST | /onCallListPaymentMethods |
| POST | /onCallGetSubscriptionDetails |
| POST | /onCallGetInvoices |
| POST | /onCallUpdateBillingInfo |
Legal
Utilities