Skip to main content
Paylocity Web Services API access for reading employees, earnings, company codes, and local taxes for a connected Paylocity company. Use when an agent needs employee records or pay data from Paylocity. Routes through Pipedream Connect, so Lava holds no Paylocity token. 4 example endpoints available through Lava’s AI Gateway. See the Paylocity API docs for full documentation.
This provider requires your own credentials — connect your API key or OAuth account before use.
This is a catch-all provider — any valid URL under https://api.paylocity.com is supported. Paylocity Web Services API v2. Base https://api.paylocity.com (Pipedream resolves the actual environment host, so send paths as-is). Company-scoped reads under /api/v2/companies/{companyId}/: /employees (list), /employees/{employeeId} (one), /employees/{employeeId}/earnings, /codes/{type} (company codes, e.g. /codes/department or /codes/location), /employees/{employeeId}/localTaxes. companyId is the Paylocity company code, not a UUID. Date fields use MM/DD/YYYY, not ISO 8601. Auth is brokered by Pipedream (WebLinkAPI scope), do not send an Authorization header. This provider is read-only: only GET requests are supported. The endpoints below are curated examples.

Endpoints

List all employees for a company.

GET https://api.paylocity.com/api/v2/companies/{companyId}/employees — Free
const data = await lava.gateway('https://api.paylocity.com/api/v2/companies/{companyId}/employees', { method: 'GET' });

Get a single employee.

GET https://api.paylocity.com/api/v2/companies/{companyId}/employees/{employeeId} — Free
const data = await lava.gateway('https://api.paylocity.com/api/v2/companies/{companyId}/employees/{employeeId}', { method: 'GET' });

Get an employee’s earnings / pay records.

GET https://api.paylocity.com/api/v2/companies/{companyId}/employees/{employeeId}/earnings — Free
const data = await lava.gateway('https://api.paylocity.com/api/v2/companies/{companyId}/employees/{employeeId}/earnings', { method: 'GET' });

List company codes for a resource type (e.g. department, location, costCenter1).

GET https://api.paylocity.com/api/v2/companies/{companyId}/codes/department — Free
const data = await lava.gateway('https://api.paylocity.com/api/v2/companies/{companyId}/codes/department', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests