paylocity.com

For general questions and support of the API, contact: [email protected] Overview Paylocity Web Services API is an externally facing RESTful Internet protocol. The Paylocity API uses HTTP verbs and a RESTful endpoint structure. OAuth 2.0 is used as the API Authorization framework. Requ

🔑 oauth2 30 endpoints financial
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (4 total)

pip install paylocity-python-sdk
npm install paylocity-typescript-sdk
# Maven: see https://github.com/konfig-sdks/paylocity-java-sdk
dotnet add package PCFL.Paylocity.SDK
curl examples
Get Company-Specific Open API Documentation
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.paylocity.com/api/v2/companies/{companyId}/openapi
Get all employees
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.paylocity.com/api/v2/companies/{companyId}/employees/
Get All Company Codes
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.paylocity.com/api/v2/companies/{companyId}/codes/{codeResource}
Endpoints (30 total)
GET
/v2/companies/{companyId}/openapi
Get Company-Specific Open API Documentation
GET
/v2/companies/{companyId}/employees/
Get all employees
GET
/v2/companies/{companyId}/codes/{codeResource}
Get All Company Codes
GET
/v2/companies/{companyId}/employees/{employeeId}
Get employee
GET
/v2/companies/{companyId}/customfields/{category}
Get All Custom Fields
GET
/v2/companies/{companyId}/employees/{employeeId}/earnings
Get All Earnings
GET
/v2/companies/{companyId}/employees/{employeeId}/localTaxes
Get all local taxes
GET
/v2/companies/{companyId}/employees/{employeeId}/directDeposit
Get All Direct Deposit
GET
/v2/companies/{companyId}/employees/{employeeId}/sensitivedata
Get sensitive data
GET
/v2/companies/{companyId}/employees/{employeeId}/localTaxes/{taxCode}
Get local taxes by tax code
GET
/v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}
Get Earnings by Earning Code
GET
/v2/companies/{companyId}/employees/{employeeId}/paystatement/details/{year}
Get employee pay statement details data for the specified year.
At a glance
Total SDKs4
Languages4
Endpoints30
Authoauth2
Categories1
https://api.paylocity.com/api