> ## Documentation Index
> Fetch the complete documentation index at: https://docs.emplicon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lihat karyawan by ID

> Mengambil detail karyawan berdasarkan UUID.



## OpenAPI

````yaml openapi.json get /api/v1/employees/{id}
openapi: 3.0.3
info:
  title: Emplicon API
  description: >-
    API publik Emplicon untuk integrasi: absensi, lembur (overtime), dan data
    karyawan.


    **Autentikasi:** API Key. Wajib mengirim dua header:

    - `X-Client-ID`: Client ID perusahaan (emp_cl_...)

    - `X-Api-Key`: API Secret Key (emp_sk_...)


    Keduanya didapat dari **Pengaturan → Perusahaan** di dashboard Emplicon.


    ---


    **Callback (webhook) yang tersedia saat ini:**

    - **Flip** — Inquiry Rekening: `POST
    https://api.emplicon.com/v1/webhooks/flip/inquiry`

    - **Flip** — Disbursement: `POST
    https://api.emplicon.com/v1/webhooks/flip/disbursement`


    URL callback didaftarkan di dashboard provider (Flip, dll). Emplicon
    menerima request GET (verifikasi URL) dan POST (payload).
  version: 1.0.0
servers:
  - url: https://api.emplicon.com
    description: Production
  - url: https://api-demo.emplicon.com
    description: Demo
security:
  - apiKeyAuth: []
    clientId: []
tags:
  - name: Attendances
    description: Absensi (clock in/out)
  - name: Overtimes
    description: Lembur (overtime start/end)
  - name: Employees
    description: Data karyawan
paths:
  /api/v1/employees/{id}:
    get:
      tags:
        - Employees
      summary: Lihat karyawan by ID
      description: Mengambil detail karyawan berdasarkan UUID.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Employee'
        '401':
          description: Missing or invalid API Key
        '404':
          description: Employee not found
      security:
        - apiKeyAuth: []
          clientId: []
components:
  schemas:
    Employee:
      type: object
      properties:
        id:
          type: string
          format: uuid
        unique_id:
          type: string
        first_name:
          type: string
        last_name:
          type: string
        employee_number:
          type: string
        phone:
          type: string
        email:
          type: string
        address:
          type: string
        gender:
          type: string
        status:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API Secret Key (emp_sk_...). Wajib dikirim bersama header
        **X-Client-ID** (Client ID perusahaan). Keduanya didapat dari Pengaturan
        → Perusahaan di dashboard.
    clientId:
      type: apiKey
      in: header
      name: X-Client-ID
      description: Client ID perusahaan (emp_cl_...). Wajib dikirim bersama **X-Api-Key**.

````