Paylocity
Paylocity is a cloud payroll and human resources platform for managing employee pay, benefits, time, and workforce administration.
- Base URL:
https://api.paylocity.com/api - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
https://api.paylocity.com/IdentityServer/connect/tokenusing yourclientId/clientSecret, then calls the API.
Operations
get_all_company_codes_and_descriptions_by_resour— GET /v2/companies/{companyId}/codes/{codeResource} — Get All Company Codesget_all_custom_fields_by_category— GET /v2/companies/{companyId}/customfields/{category} — Get All Custom Fieldsget_all_employees— GET /v2/companies/{companyId}/employees/ — Get all employeesget_employee— GET /v2/companies/{companyId}/employees/{employeeId} — Get employeeget_all_direct_deposit— GET /v2/companies/{companyId}/employees/{employeeId}/directDeposit — Get All Direct Depositget_all_earnings— GET /v2/companies/{companyId}/employees/{employeeId}/earnings — Get All Earnings
Inputs
clientId/clientSecret— your paylocity OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_all_company_codes_and_descriptions_by_resour
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for paylocity. |
clientSecret |
string | yes | — | OAuth client secret for paylocity. |
operation |
string | yes | — | One of: get_all_company_codes_and_descriptions_by_resour, get_all_custom_fields_by_category, get_all_employees, get_employee, get_all_direct_deposit, get_all_earnings |
scope |
string | no | WebLinkAPI |
OAuth scopes (space-separated); default from the spec. |
category |
string | no | — | Path parameter category (required by some operations). |
codeResource |
string | no | — | Path parameter codeResource (required by some operations). |
companyId |
string | no | — | Path parameter companyId (required by some operations). |
employeeId |
string | no | — | Path parameter employeeId (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |