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
| Name | Type | Description |
|---|---|---|
status | "open" | "resolved" | |
type | string | |
location_id | string | |
user_id | string | |
limit | integer | Default 100 |
cursor | string |
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
| Name | Type | Description |
|---|---|---|
idrequired | string |
Body (JSON)
| Name | Type | Description |
|---|---|---|
note | string |
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