Developer docs menu

API reference / Current user

Current user API

15 endpoints. Scopes: Scalar360.me.READ, .CREATE, .UPDATE, .DELETE or .ALL. All calls need Authorization: Scalar360-oauthtoken <access_token> — see Authentication.

POST

Check in

/api/v1/me/attendance/check-in

Scope: Scalar360.me.CREATE

Body fieldTypeRequiredNotes
latnumber
lngnumber
selfiestring
addressstring
Example request
curl -X POST "https://api.scalar360.com/api/v1/me/attendance/check-in" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"lat":100,"lng":100,"selfie":"string","address":"string"}'
POST

Check out

/api/v1/me/attendance/check-out

Scope: Scalar360.me.CREATE

Body fieldTypeRequiredNotes
latnumber
lngnumber
selfiestring
addressstring
Example request
curl -X POST "https://api.scalar360.com/api/v1/me/attendance/check-out" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"lat":100,"lng":100,"selfie":"string","address":"string"}'
GET

Summary

/api/v1/me/attendance/summary

Scope: Scalar360.me.READ

ParameterInTypeRequired
monthquerystringYes
Example request
curl -X GET "https://api.scalar360.com/api/v1/me/attendance/summary" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
GET

Today

/api/v1/me/attendance/today

Scope: Scalar360.me.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/me/attendance/today" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
GET

Balances

/api/v1/me/leave/balances

Scope: Scalar360.me.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/me/leave/balances" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
GET

My leave

/api/v1/me/leave/requests

Scope: Scalar360.me.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/me/leave/requests" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
POST

Apply leave

/api/v1/me/leave/requests

Scope: Scalar360.me.CREATE

Body fieldTypeRequiredNotes
employeeGidstring
leaveTypeGidstring
fromDatestring (date)
toDatestring (date)
daysnumber
reasonstring
Example request
curl -X POST "https://api.scalar360.com/api/v1/me/leave/requests" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"employeeGid":"string","leaveTypeGid":"string","fromDate":"2026-10-12","toDate":"2026-10-12","days":100,"reason":"string"}'
GET

Leave types

/api/v1/me/leave/types

Scope: Scalar360.me.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/me/leave/types" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
GET

Payslips

/api/v1/me/payslips

Scope: Scalar360.me.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/me/payslips" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
GET

Payslip pdf

/api/v1/me/payslips/{slipGid}/pdf

Scope: Scalar360.me.READ

ParameterInTypeRequired
slipGidpathstring (uuid)Yes
Example request
curl -X GET "https://api.scalar360.com/api/v1/me/payslips/{slipGid}/pdf" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
GET

Profile

/api/v1/me/profile

Scope: Scalar360.me.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/me/profile" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
GET

Team

/api/v1/me/team

Scope: Scalar360.me.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/me/team" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
GET

Team leave

/api/v1/me/team/leave

Scope: Scalar360.me.READ

Example request
curl -X GET "https://api.scalar360.com/api/v1/me/team/leave" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
POST

Approve

/api/v1/me/team/leave/{reqGid}/approve

Scope: Scalar360.me.CREATE

ParameterInTypeRequired
reqGidpathstring (uuid)Yes
Example request
curl -X POST "https://api.scalar360.com/api/v1/me/team/leave/{reqGid}/approve" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
POST

Reject

/api/v1/me/team/leave/{reqGid}/reject

Scope: Scalar360.me.CREATE

ParameterInTypeRequired
reqGidpathstring (uuid)Yes
Example request
curl -X POST "https://api.scalar360.com/api/v1/me/team/leave/{reqGid}/reject" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"