---
title: Paylocity WebLink API Integration on Truto
slug: paylocityweblink
category: HRIS
canonical: "https://truto.one/integrations/detail/paylocityweblink/"
---

# Paylocity WebLink API Integration on Truto



**Category:** HRIS  
**Status:** Beta

## MCP-ready AI tools

Truto exposes 35 tools for Paylocity WebLink that AI agents can call directly.

- **list_all_paylocity_web_link_employees** — Get All Employees. Get All Employees API will return employee data currently available in Paylocity Payroll/HR solution. Paylocity WebLink API (GET /v2/companies/{companyId}/employees). Paginated.
- **get_single_paylocity_web_link_employee_by_id** — Get Employee. Get Employee API will return employee data currently available in Paylocity Payroll/HR solution. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}). The id is the employeeId. Required: id.
- **create_a_paylocity_web_link_employee** — Create New Employee. Create New Employee API sends new employee data directly to Paylocity Payroll/HR solution. Companies who use the New Hire Template in Paylocity Payroll/HR solution may require additional fields when hiring employees. New Employee API Requests will honor these required fields. Paylocity WebLink API (POST /v2/companies/{companyId}/employees).
- **update_a_paylocity_web_link_employee_by_id** — Update Employee. Update Employee API will update existing employee data in WebPay. Paylocity WebLink API (PATCH /v2/companies/{companyId}/employees/{employeeId}). The id is the employeeId. Required: id.
- **create_a_paylocity_web_link_staged_employee** — Create New Employee in Web Link. Create New Employee in Web Link will send partially completed or potentially erroneous new hire record to Web Link, where it can be corrected and completed by company administrator or authorized Paylocity Service Bureau employee. Paylocity WebLink API (POST /v2/weblinkstaging/companies/{companyId}/employees/newemployees).
- **create_a_paylocity_web_link_onboarding_employee** — Create Employee Onboarding. Onboarding API sends employee data into Paylocity Onboarding to help ensure an easy and accurate hiring process for subsequent completion into Paylocity Payroll/HR solution. Paylocity WebLink API (POST /v1/companies/{companyId}/onboarding/employees). Required: firstName, lastName.
- **create_a_paylocity_web_link_employee_status_search** — Create an Employee Statuses Search. Beta Phase This resource is in closed beta. Paylocity Technology Partners interested may contact the marketplace team to explore early adopter opportunities at marketplaceapisupport@paylocity.com Performs a employee status search for the specified company according to the search parameters passed in the request body. Paylocity WebLink API (POST /v2/companies/{companyId}/employeeStatusSearches).
- **list_all_paylocity_web_link_company_codes** — Get All Company Codes. Get All Company Codes for the selected company and resource. Paylocity WebLink API (GET /v2/companies/{companyId}/codes/{codeResource}). Required: code_resource.
- **list_all_paylocity_web_link_custom_fields** — Get All Custom Fields. :construction: IMPORTANT! If your company is using the Unlimited Custom Fields platform, DO NOT USE THIS WEB LINK ENDPOINT. Instead, please follow the bulk upload process described in PEAK article PCTY-148055 Get All Custom Fields for the selected company. Paylocity WebLink API (GET /v2/companies/{companyId}/customfields/{category}). Required: category.
- **paylocity_web_link_company_openapi_get_document** — Get Company-Specific Open API Documentation. The company-specific Open API endpoint allows the client to GET an Open API document for the Paylocity API that is customized with company-specific resource schemas. These customized resource schemas define certain properties as enumerations of pre-defined values that correspond to the company's setup with Paylocity Payroll/HR solution. Paylocity WebLink API (GET /v2/companies/{companyId}/openapi).
- **create_a_paylocity_web_link_client_secret** — Create New Client Secret. Create new client secret for Paylocity-issued client id. See Weblink Authentication section for details. Paylocity WebLink API (POST /v2/credentials/secrets). Required: code.
- **list_all_paylocity_web_link_direct_deposits** — Get All Direct Deposit. Get All Direct Deposit returns main direct deposit and all additional direct deposits for the selected employee. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/directDeposit). Required: employee_id.
- **list_all_paylocity_web_link_earnings** — Get All Earnings. Get All Earnings returns all earnings for the selected employee. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/earnings). Required: employee_id.
- **paylocity_web_link_earnings_list_by_code** — Get Earnings by Earning Code. Get Earnings returns all earnings with the provided earning code for the selected employee. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}). Required: employee_id, earning_code.
- **get_single_paylocity_web_link_earning_by_id** — Get Earning by Earning Code and Start Date. Get Earnings returns the single earning with the provided earning code and start date for the selected employee. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}/{startDate}). The id is the startDate. Required: id, employee_id, earning_code.
- **paylocity_web_link_earnings_upsert** — Upsert Earning. Upsert Earning API sends new or updated employee earnings information directly to Paylocity Payroll/HR solution. Paylocity WebLink API (PUT /v2/companies/{companyId}/employees/{employeeId}/earnings). Required: employee_id, earningCode, startDate.
- **delete_a_paylocity_web_link_earning_by_id** — Delete Earning by Earning Code and Start Date. Paylocity WebLink API (DELETE /v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}/{startDate}). The id is the startDate. Required: id, employee_id, earning_code.
- **list_all_paylocity_web_link_deductions** — Get All Deductions. Get All Deductions returns all deductions for the selected employee. Paylocity WebLink API (GET /v1/companies/{companyId}/employees/{employeeId}/deductions). Required: employee_id.
- **paylocity_web_link_deductions_list_by_code** — Get Deduction for Deduction Code. Get Deduction for Deduction Code returns records for a specific deduction for the selected employee. Paylocity WebLink API (GET /v1/companies/{companyId}/employees/{employeeId}/deductions/{deductionCode}). Required: employee_id, deduction_code.
- **paylocity_web_link_deductions_upsert** — Upsert Deduction. Upsert Deduction API sends new or updated employee deduction information directly to Paylocity Payroll/HR solution. Paylocity WebLink API (POST /v1/deduction).
- **delete_a_paylocity_web_link_deduction_by_id** — Delete Deduction for Deduction Code / Start Date. Delete Deduction API deletes an incorrect deduction from Paylocity Payroll/HR solution. Paylocity WebLink API (DELETE /v1/companies/{companyId}/employees/{employeeId}/deductions/{deductionCode}/{startDate}). The id is the startDate. Required: id, employee_id, deduction_code.
- **list_all_paylocity_web_link_local_taxes** — Get All Local Taxes. Returns all local taxes for the selected employee. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/localTaxes). Required: employee_id.
- **get_single_paylocity_web_link_local_tax_by_id** — Get Local Taxes by Tax Code. Returns all local taxes with the provided tax code for the selected employee. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/localTaxes/{taxCode}). The id is the taxCode. Required: id, employee_id.
- **create_a_paylocity_web_link_local_tax** — Create New Local Tax. Sends new employee local tax information directly to Paylocity Payroll/HR solution. Paylocity WebLink API (POST /v2/companies/{companyId}/employees/{employeeId}/localTaxes). Required: employee_id.
- **delete_a_paylocity_web_link_local_tax_by_id** — Delete Local Tax by Tax Code. Paylocity WebLink API (DELETE /v2/companies/{companyId}/employees/{employeeId}/localTaxes/{taxCode}). The id is the taxCode. Required: id, employee_id.
- **paylocity_web_link_primary_state_taxes_upsert** — Upsert Primary State Tax. Sends new or updated employee primary state tax information directly to Paylocity Payroll/HR solution. Paylocity WebLink API (PUT /v2/companies/{companyId}/employees/{employeeId}/primaryStateTax). Required: employee_id.
- **paylocity_web_link_non_primary_state_taxes_upsert** — Upsert Non-Primary State Tax. Sends new or updated employee non-primary state tax information directly to Paylocity Payroll/HR solution. Paylocity WebLink API (PUT /v2/companies/{companyId}/employees/{employeeId}/nonprimaryStateTax). Required: employee_id.
- **paylocity_web_link_additional_rates_upsert** — Upsert Additional Rates. Sends new or updated employee additional rates information directly to Paylocity Payroll/HR solution. Paylocity WebLink API (PUT /v2/companies/{companyId}/employees/{employeeId}/additionalRates). Required: employee_id.
- **paylocity_web_link_emergency_contacts_upsert** — Upsert Emergency Contacts. Sends new or updated employee emergency contacts directly to Paylocity Payroll/HR solution. Paylocity WebLink API (PUT /v2/companies/{companyId}/employees/{employeeId}/emergencyContacts). Required: employee_id, firstName, lastName.
- **paylocity_web_link_sensitive_data_get_sensitive_data** — Get Sensitive Data. Gets employee sensitive data information directly from Paylocity Payroll/HR solution. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/sensitivedata). Required: employee_id.
- **paylocity_web_link_sensitive_data_upsert** — Upsert Sensitive Data. Sends new or updated employee sensitive data information directly to Paylocity Payroll/HR solution. Paylocity WebLink API (PUT /v2/companies/{companyId}/employees/{employeeId}/sensitivedata). Required: employee_id.
- **list_all_paylocity_web_link_pay_statement_details** — Get Employee Pay Statement Details Data for the Specified Year. Get pay statement details API will return employee pay statement details data currently available in Paylocity Payroll/HR solution for the specified year. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/paystatement/details/{year}). Required: employee_id, year. Paginated.
- **paylocity_web_link_pay_statement_details_list_by_check_date** — Get Employee Pay Statement Details Data for the Specified Year and Check Date. Get pay statement details API will return employee pay statement detail data currently available in Paylocity Payroll/HR solution for the specified year and check date. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/paystatement/details/{year}/{checkDate}). Required: employee_id, year, check_date. Paginated.
- **list_all_paylocity_web_link_pay_statement_summaries** — Get Employee Pay Statement Summary Data for the Specified Year. Get pay statement summary API will return employee pay statement summary data currently available in Paylocity Payroll/HR solution for the specified year. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/paystatement/summary/{year}). Required: employee_id, year. Paginated.
- **paylocity_web_link_pay_statement_summaries_list_by_check_date** — Get Employee Pay Statement Summary Data for the Specified Year and Check Date. Get pay statement summary API will return employee pay statement summary data currently available in Paylocity Payroll/HR solution for the specified year and check date. Paylocity WebLink API (GET /v2/companies/{companyId}/employees/{employeeId}/paystatement/summary/{year}/{checkDate}). Required: employee_id, year, check_date. Paginated.

## How it works

1. **Link your customer's Paylocity WebLink account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Paylocity WebLink.** The Proxy API is a 1-to-1 mapping of the Paylocity WebLink API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Automate new hire handoff from ATS to payroll** — Recruiting and ATS platforms can push hired candidates directly into Paylocity's staging or onboarding modules, eliminating 15-20 minutes of manual data entry per hire for HR teams.
- **Sync benefits elections into payroll deductions** — Benefits administration and equity platforms can push per-paycheck premium changes directly to Paylocity deduction codes, preventing costly clawbacks and CSV uploads during open enrollment.
- **Power earned wage access with verified payroll data** — EWA and financial wellness apps can read pay statement details and direct deposit info to calculate accurate net take-home pay and verify routing before advancing wages.
- **Keep workforce state tax compliance in sync** — Compliance platforms can automatically update primary, non-primary, and local tax setups when employees relocate, shielding finance teams from tax penalties.
- **Mirror the org chart for IT provisioning and access control** — IT and identity platforms can poll the employee roster and status search endpoint to deprovision access instantly when someone is terminated or placed on leave.

## What you can build

- **Staged new-hire push from ATS** — Send candidate profiles into Paylocity's staging or onboarding queues so HR admins can review and approve before payroll activation.
- **Deduction code upsert engine** — Programmatically create, update, and delete deduction records by code and start date to keep benefits premiums aligned with payroll runs.
- **Earnings automation for time and commissions** — Upsert earnings records by code to push hours, overtime, bonuses, or commissions from time-tracking or incentive platforms directly into payroll.
- **Multi-state tax compliance updater** — Automatically write primary state tax, non-primary state tax, and local tax configurations when employees change work locations.
- **Pay statement and direct deposit viewer** — Pull historical pay statement summaries, line-item details by check date, and direct deposit allocations to power EWA, lending, or income verification.
- **Employee status change monitor** — Use the employee status search endpoint to detect terminations, leaves, and rehires on a schedule and trigger downstream workflows like IAM deprovisioning.

## FAQs

### How does authentication work for Paylocity WebLink through Truto?

Paylocity WebLink uses OAuth 2.0 client credentials scoped to each company. Truto manages the credential storage, token refresh, and company-code routing so your end users just connect once and your app calls the Truto API.

### Can we create employees directly, or do we have to use staging?

Both are supported. Truto exposes create_a_paylocity_web_link_employee for direct creation, plus create_a_paylocity_web_link_staged_employee and create_a_paylocity_web_link_onboarding_employee for the review-and-approve workflows that most payroll teams require.

### How do we detect terminations or status changes without polling every employee?

Use create_a_paylocity_web_link_employee_status_search to query employees by status change within a date range. It's far more efficient than listing all employees and diffing locally.

### Does Truto support custom fields configured in a customer's Paylocity instance?

Yes. The list_all_paylocity_web_link_custom_fields tool returns the custom field schema defined in the connected company, so you can map and write customer-specific attributes.

### Can we read and write sensitive data like SSNs?

Yes, paylocity_web_link_sensitive_data_get_sensitive_data and paylocity_web_link_sensitive_data_upsert are supported, but these endpoints are gated behind elevated permissions that the customer must grant on their Paylocity side.

### What payroll data can we pull for earned wage access or income verification?

You can list pay statement summaries and details, filter them by check date, and fetch direct deposit allocations per employee — enough to calculate net take-home pay and verify routing information.

### How do we handle multiple company codes under one customer?

Use list_all_paylocity_web_link_company_codes to enumerate the company codes available to a connected account, then scope subsequent calls (employees, earnings, deductions, taxes) to the correct company.
