Get 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

Returns a list of employees available for payroll generation based on the specified filters.

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

Query parameters

  • organizationId integer(int64) Required

    Organization ID

  • calendarYear integer(int32) Required

    Calendar year

  • monthType string

    Month type

    Values are JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, or DECEMBER.

  • monthStartDate string(date-time)

    Month start date

  • monthEndDate string(date-time)

    Month end date

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)
    • organizationId integer(int64)
    • staffId integer(int64)
    • payrollCurrencyId integer(int64)
    • staffPayslipId integer(int64)
    • staffAccountId integer(int64)
    • 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(int64)
    • orgEmployeeGroupIds array[integer(int64)]
    • orgEmployeeGroupName string
    • tenantId integer(int64)
  • 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?organizationId=42&calendarYear=42'
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
  }
]