Skip to Content
DevelopersAPI referenceTime

List timesheet approvals

GET
/v1/timesheet-approvals

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (blk_…) from Settings → API keys.

Query Parameters

status?string
Value in"submitted""approved""rejected"
memberId?string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json
  1. response
items*array<>
pendingCount*integer
Range-9007199254740991 <= value <= 9007199254740991
available*boolean
enabled*boolean
Example Request
curl -X GET 'https://your-billleaf-api/v1/timesheet-approvals'
Example Response200
{  "items": [    {      "id": "string",      "memberId": "string",      "memberName": "string",      "weekStart": "2019-08-24",      "status": "submitted",      "totalSeconds": -9007199254740991,      "billableSeconds": -9007199254740991,      "submittedAt": "2019-08-24T14:15:22Z",      "reviewedAt": "2019-08-24T14:15:22Z",      "reviewedByName": "string",      "note": "string"    }  ],  "pendingCount": -9007199254740991,  "available": true,  "enabled": true}