Skip to main content
GET
/
api
/
v1
/
attendances
List absensi
curl --request GET \
  --url https://api.emplicon.com/api/v1/attendances \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-ID: <api-key>'
{
  "attendances": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "employee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "unique_employee_id": "<string>",
      "date": "<string>",
      "clock_type": "in",
      "clock_time": "<string>",
      "status": "<string>",
      "latitude": 123,
      "longitude": 123,
      "notes": "<string>",
      "photo_url": "<string>"
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

API Secret Key (emp_sk_...). Wajib dikirim bersama header X-Client-ID (Client ID perusahaan). Keduanya didapat dari Pengaturan → Perusahaan di dashboard.

X-Client-ID
string
header
required

Client ID perusahaan (emp_cl_...). Wajib dikirim bersama X-Api-Key.

Query Parameters

date_from
string<date>

Tanggal awal (YYYY-MM-DD)

date_to
string<date>

Tanggal akhir (YYYY-MM-DD)

unique_employee_id
string

Filter by Unique ID karyawan (e.g. MULIA-1234567)

Response

OK

attendances
object[]