Get list of employees for payroll generation

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Wyzio MCP server": {
  "url": "https://restapi.wyzio.com/mcp"
}
Close
GET /api-v1/payroll/employees

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer
    • organizationId integer
    • staffId integer
    • payrollCurrencyId integer
    • staffPayslipId integer
    • staffAccountId integer
    • name string
    • startDate string(date-time)
    • endDate string(date-time)
    • salaryType string

      Values are MONTHLY or HOURLY.

    • genderType string

      Values are MALE, FEMALE, or OTHER.

    • birthday string(date-time)
    • isPayrollGenerated boolean
    • payableToBankId integer
    • orgEmployeeGroupIds array[integer]
    • orgEmployeeGroupName string
    • tenantId integer
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/payroll/employees
curl \
 --request GET 'https://wyzio.app/api-v1/payroll/employees'
Response examples (200)
[
  {
    "id": 42,
    "organizationId": 42,
    "staffId": 42,
    "payrollCurrencyId": 42,
    "staffPayslipId": 42,
    "staffAccountId": 42,
    "name": "string",
    "startDate": "2026-05-04T09:42:00Z",
    "endDate": "2026-05-04T09:42:00Z",
    "salaryType": "MONTHLY",
    "genderType": "MALE",
    "birthday": "2026-05-04T09:42:00Z",
    "isPayrollGenerated": true,
    "payableToBankId": 42,
    "orgEmployeeGroupIds": [
      42
    ],
    "orgEmployeeGroupName": "string",
    "tenantId": 42
  }
]