Skip to content
ClockLap Developers
API reference clocklap.com Get an API key

API reference

Edit requests

4 endpoints. Click one to see its parameters, fields and an example. Code samples use the region you pick.

GET/v1/edit-requestsList edit requests

List edit requests

Query parameters

NameTypeDescription
status"pending" | "approved" | "rejected"
mineboolean
location_idstring
limitinteger Default 100
cursorstring

Example

curl "https://ca-api.clocklap.com/v1/edit-requests" \
  -H "Authorization: Bearer $CLOCKLAP_API_KEY"

Responses

200

POST/v1/edit-requestsAsk a manager to fix or add an entry

Ask a manager to fix or add an entry

Body (JSON)

NameTypeDescription
time_entry_idstring or null
location_idstring
clock_in_atrequiredstring (date-time)
clock_out_atstring (date-time) or null
reasonrequiredstring

Example

curl -X POST "https://ca-api.clocklap.com/v1/edit-requests" \
  -H "Authorization: Bearer $CLOCKLAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"clock_in_at":"2026-10-26T13:00:00Z","clock_out_at":"2026-10-26T13:00:00Z","reason":"string"}'

Responses

200

POST/v1/edit-requests/{id}/approveApprove

Approve

Path parameters

NameTypeDescription
idrequiredstring

Body (JSON)

NameTypeDescription
notestring

Example

curl -X POST "https://ca-api.clocklap.com/v1/edit-requests/{id}/approve" \
  -H "Authorization: Bearer $CLOCKLAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"note":"string"}'

Responses

200

POST/v1/edit-requests/{id}/rejectReject

Reject

Path parameters

NameTypeDescription
idrequiredstring

Body (JSON)

NameTypeDescription
noterequiredstring

Example

curl -X POST "https://ca-api.clocklap.com/v1/edit-requests/{id}/reject" \
  -H "Authorization: Bearer $CLOCKLAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"note":"string"}'

Responses

200