Download a check-in selfie
GET /hr/attendance/photos/{id} Attendance and leave: read
id
Example
curl https://app.msmepulse.com/api/v1/hr/attendance/photos/{id} \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
One person's day: times, where each punch was made, visits
GET /hr/attendance/{userId}/{date} Attendance and leave: read
userId ยท date
Example
curl https://app.msmepulse.com/api/v1/hr/attendance/{userId}/{date} \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
Attendance for a month (month=YYYY-MM)
GET /hr/attendance Attendance and leave: read
Example
curl https://app.msmepulse.com/api/v1/hr/attendance \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
Leave types
GET /hr/leave/types Attendance and leave: read
Example
curl https://app.msmepulse.com/api/v1/hr/leave/types \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
Leave balances
GET /hr/leave/balances Attendance and leave: read
Example
curl https://app.msmepulse.com/api/v1/hr/leave/balances \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
Leave requests (view=team, from)
GET /hr/leave/requests Attendance and leave: read
Example
curl https://app.msmepulse.com/api/v1/hr/leave/requests \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
Get a leave request
GET /hr/leave/requests/{id} Attendance and leave: read
id
Example
curl https://app.msmepulse.com/api/v1/hr/leave/requests/{id} \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
Holidays (year)
GET /hr/holidays Attendance and leave: read
Example
curl https://app.msmepulse.com/api/v1/hr/holidays \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
Offices, work sites, shifts and attendance rules
GET /hr/setup Attendance and leave: read
Example
curl https://app.msmepulse.com/api/v1/hr/setup \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
The employee directory
GET /hr/employees Employee directory: read
Example
curl https://app.msmepulse.com/api/v1/hr/employees \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.
An employee's record (sensitive fields masked)
GET /hr/employees/{userId} Employee directory: read
userId
Example
curl https://app.msmepulse.com/api/v1/hr/employees/{userId} \
-H "Authorization: Bearer $MSMEPULSE_TOKEN"
Answers 200 with the same data the MSMEPulse web app shows for it.