Gofive OpenAPI
empeo
VenioeTaxGo
empeo
VenioeTaxGo
  1. Employee
  • Authentication
    • Authorization
      POST
  • Master
    • Get Organizations
      GET
    • Get CustomField
      GET
    • Get Holiday
      GET
    • Get MasterSetup
      GET
    • Get Overtimes
      GET
  • Recruitment
    • Get Candidate
  • Core HR
    • Attendance
      • Get Time Attendance
      • Workin
      • Get Employee WorkIn Site
      • Get Timestamps
      • Get TimeStamp Attachments
      • Get Workin Sites
      • Get IOMO Logs
      • Add Timestamps
    • Asset
      • Get Asset list
      • Update Asset
      • Get Employee Assets
    • Employee
      • Get Employee
        GET
      • Update Employee
        PUT
      • Get Employees List
        GET
      • Get Mastertypes List
        GET
      • Get Name Prefixes
        GET
      • Get Document Types
        GET
      • Update Employee
        POST
      • Add Employee Attachment
        POST
      • Update Employee Address
        POST
      • Update Employee Family
        POST
      • Update Employee Contact
        POST
      • Update Employee Education
        POST
      • Update Employee Experience
        POST
      • Update Employee CustomField
        POST
      • Delete Employee
        POST
      • Get Employee Role
        GET
      • Get Employee Movement Lists
        GET
    • Leave
      • Get Employee Documents
    • Shifts
      • Get Shift Details
      • Update Employee Shifts
      • Get Employee Shifts
      • Swap Employee Shifts
    • Timesheet
      • Search Projects
      • Search Tasks
      • Create Timesheet Entry
  • Payroll
    • Get Financial Transactions
    • Update Financial Transactions
    • Create Loan
    • Get Cost Center
  • Welfare
    • Shuttle Buses
    • Passengers
  • Goals
    • Update KPI
  • Engagement
    • Achievement
      • Get Employee Achievements
      • Create Achievement Card
      • Create Achievement Award Document
      • Get Achievement Events
    • Praise
      • Get Employee Praises
      • Get Praise Types
      • Create Praise Reward Manager
    • StampCard
      • Get Stamp Cards
      • Get Stamp Card Detail
      • Add Stamp
    • Celebration
      • Get Upcoming Celebrations
  • Overtime
    • Get Overtimes Preriods
    • Get Overtimes Documents
  • Employee
    • User Info
    • Update Employee Information
  1. Employee

Get Employees List

GET
https://api.gofive.co.th/empeo/api/v2/employees/lists
ดึงรายชื่อพนักงาน
ดึงรายชื่อพนักงานของ tenant พร้อมข้อมูลที่เลือกได้เป็นส่วน ๆ ผ่าน fields — ไม่ระบุ fields จะได้เฉพาะข้อมูล
พื้นฐาน (ชื่อ-สกุล ชื่อเล่น วันที่เริ่มงาน) ซึ่งเร็วกว่ามาก
fields รับหลายค่าคั่นด้วย , — information (ข้อมูลส่วนตัว), workInfo (ข้อมูลการจ้างงานและหน่วยงาน),
address (ที่อยู่), family (ครอบครัว), education (การศึกษา), experience (ประสบการณ์),
customField (ฟิลด์กำหนดเอง) — ยิ่งขอมากยิ่งช้า ขอเท่าที่ใช้จริง
WorkingInformation.Organization รองรับหน่วยงานได้ถึง 20 ระดับ — Level7 ขึ้นไปจะปรากฏเฉพาะ tenant
ที่ตั้งโครงสร้างลึกกว่า 6 ระดับ ผู้เรียกที่อ่านแค่ Level1–Level6 จึงไม่ได้รับผลกระทบ
endpoint นี้เป็น เวอร์ชัน 2 (/api/v2/...) ตามที่ระบบให้บริการจริง
ไม่พบพนักงานตามตัวกรองจะได้ 204
ต้องมีสิทธิ์ Open API โมดูล Employee ระดับ Read

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.gofive.co.th/empeo/api/v2/employees/lists?pageSize=10&pageIndex=0&employeeRefId=24008&companyName=Acme&emailAddress=sample.one%40example.com&employeeStatus=1&fields=information%2CworkInfo%2Caddress%2Cfamily' \
--header 'Ocp-Apim-Subscription-Key: WPe123a9RKbcfLQNSztr45' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
สำเร็จ — Data คือรายชื่อพนักงาน (ส่วนที่ไม่ได้ขอผ่าน fields จะเป็น null)
Bodyapplication/json

Examples
{
    "statusCode": 200,
    "message": "OK",
    "totals": 1,
    "data": [
        {
            "employeeRefId": "24008",
            "firstName": "แอดมิน",
            "lastName": "โกไฟว์",
            "firstNameEN": "Admin",
            "lastNameEN": "Go5",
            "nickName": null,
            "nickNameEN": null,
            "titleName": "นาย",
            "titleNameEN": "Mr.",
            "dateHired": "2024-01-09T00:00:00",
            "contact": null,
            "addresses": {
                "address": null,
                "subdistrict": null,
                "districtName": null,
                "provinceName": null,
                "postalCode": null
            },
            "information": {
                "gender": "Male",
                "religion": null,
                "national": null,
                "race": null,
                "bloodGroup": null,
                "identificationNo": "3219161128964",
                "height": 0,
                "weight": 0,
                "millitaryStatus": null,
                "maritalStatus": null,
                "dateOfBirth": "2024-01-10T00:00:00"
            },
            "family": null,
            "workExperiences": null,
            "educations": null,
            "workingInformation": {
                "position": "รองกรรมการผู้จัดการ",
                "statusId": 2,
                "status": "บรรจุ",
                "typeId": 102706,
                "type": "ประจำ",
                "managerRefId": "23459",
                "emailAddress": "[email protected]",
                "imagePath": "https://api-uat.empeo.com/api/Service/GeneratePictureUrl/?userId=31606",
                "workingLocation": "สำนักงานใหญ่",
                "rank": "Executive",
                "dateTermination": null,
                "organization": {
                    "level1": "บริษัทรักโกไฟว์",
                    "level2": "เทคโนโลยีสารสนเทศ",
                    "level3": null,
                    "level4": null,
                    "level5": null,
                    "level6": null
                }
            },
            "customFields": null
        }
    ]
}
🟢204No Content
🟠401Unauthorized
🟠403Forbidden
🟠429
🔴500Server Error
Modified at 2026-08-17 17:13:24
Previous
Update Employee
Next
Get Mastertypes List
Built with