Skip to main content
POST
Buat event absensi

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.

Body

application/json
unique_employee_id
string
required

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

date
string<date>
required
clock_type
enum<string>
required
Available options:
in,
out
clock_time
string
required
Example:

"08:00"

status
string
latitude
number
longitude
number
notes
string
photo_url
string

Response

Created