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

API reference

Exceptions

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

GET/v1/exceptionsList exceptions

List exceptions

Query parameters

NameTypeDescription
status"open" | "resolved"
typestring
location_idstring
user_idstring
limitinteger Default 100
cursorstring

Example

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

Responses

200

POST/v1/exceptions/{id}/resolveResolve

Resolve

Path parameters

NameTypeDescription
idrequiredstring

Body (JSON)

NameTypeDescription
notestring

Example

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

Responses

200