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
| Name | Type | Description |
|---|---|---|
status | "pending" | "approved" | "rejected" | |
mine | boolean | |
location_id | string | |
limit | integer | Default 100 |
cursor | string |
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)
| Name | Type | Description |
|---|---|---|
time_entry_id | string or null | |
location_id | string | |
clock_in_atrequired | string (date-time) | |
clock_out_at | string (date-time) or null | |
reasonrequired | string |
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
| Name | Type | Description |
|---|---|---|
idrequired | string |
Body (JSON)
| Name | Type | Description |
|---|---|---|
note | string |
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
| Name | Type | Description |
|---|---|---|
idrequired | string |
Body (JSON)
| Name | Type | Description |
|---|---|---|
noterequired | string |
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