Skip to main content

API Endpoints

Complete reference of all backend Cloud Functions endpoints.

Staging base URL: https://us-central1-pivot-not-production-project.cloudfunctions.net


Authentication & Users

MethodURL
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

MethodURL
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

MethodURL
POST/scheduleApi/shifts/
GET/scheduleApi/shifts/user-shifts

Attendance & Time Tracking

MethodURL
POST/getAttendanceData
POST/findCompanyEmployeeByEmplNumber
POST/getCompanyTimeNew
POST/setEmployeeClockInV2
POST/setEmployeeClockOutV2
POST/onCallEmployeeBreakToggler
POST/employeeBreakToggler

Requests (Time Off / Availability)

MethodURL
GET/requests/
POST/requests/
PUT/requests/:id

Messaging & Chat

MethodURL
POST/fetchUnreadMessages
POST/updateDialogueLastMessage
POST/cleanupMentionNotifications

Posts & Social Feed

MethodURL
POST/getCompanyPosts
POST/getVisiblePosts
POST/getEmployeesInRole
POST/schedulePost
POST/cancelScheduledPost
POST/publishScheduledPostNow
POST/reschedulePost
POST/publishScheduledPostQueue

Notifications

MethodURL
POST/fetchNotificationsV3
POST/flattenNotifications
POST/sendPushNotification

Dashboard & Analytics

MethodURL
POST/getDashboardLaborCostPerHour
POST/getDashboardSales
POST/getDashboardSPLH
POST/onCallCalculateLaborCost
POST/onCallCalculateSales
POST/onCallFetchRealtimeSalesByCompany

POS Sync (Employee Matching)

MethodURL
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

MethodURL
POST/getLightspeedCompanies
POST/getLightspeedSearchedEmployees

Integrations — Clover

MethodURL
POST/connectClover
POST/disconnectClover
POST/cloverWebHookHandler
POST/getCloverSearchedEmployees

Integrations — Clover API Key

MethodURL
POST/connectCloverApiKey
POST/disconnectCloverApiKey
POST/verifyCloverApiKey
POST/refreshCloverApiKeyEmployees
POST/resyncCloverApiKeySales

Integrations — Givex

MethodURL
POST/verifyGivex
POST/getGivexSearchedEmployees
POST/givexRepollWebhook

Integrations — Cluster

MethodURL
POST/verifyClusterSettings

Integrations — Veloce

MethodURL
POST/getVeloceSearchedEmployees

Integrations — Nethris / Employeur D

MethodURL
POST/getEmployeurDSearchedEmployees

Integrations — Libro

MethodURL
POST/getLibroCompanies

Integrations — Maitre D

MethodURL
POST/maitreDUpload

Integrations — Myr

MethodURL
POST/storeMyrSales

Billing (Stripe)

MethodURL
POST/stripeWebHookHandler
POST/onCallCreateSetupIntent
POST/onCallAttachPaymentMethod
POST/onCallListPaymentMethods
POST/onCallGetSubscriptionDetails
POST/onCallGetInvoices
POST/onCallUpdateBillingInfo
MethodURL
POST/acceptEula

Utilities

MethodURL
POST/printPdf