Get all time entries for a client
Includes time entries within the client account cases, and tasks.
Headers
-
Content-Type
string -
Accept
string
Path parameters
-
client_uuid
string Required
Query parameters
-
filter[trackable_type]
string Filter by a comma separated list of trackable types.
-
filter[account_uuids]
string Time entries owned by account UUIDs, comma separated list. Do not include if getting time entries for current user.
-
filter[start_date_after]
string Filter by time entries after a given start date.
-
filter[start_date_before]
string Filter by time entries before a given start date.
-
filter[end_date_after]
string Filter by time entries after a given end date.
-
filter[end_date_before]
string Filter by time entries before a given end date.
-
sort
string Field to sort by. Valid fields are [created_at, start_date, end_date]. Negative sign to denote DESC. Defaults to '-end_date'.
-
per_page
integer Number of results to return with pagination (Default 15. Max 500).
GET
/api/v1/client/{client_uuid}/all-time-entries
curl \
--request GET 'https://api.plannrcrm.com/api/v1/client/client_uuid/all-time-entries' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
Response examples (200)
{
"data": [
{
"name": "Research",
"uuid": "862d4894-a1b5-4a7f-b4f9-7e9320daba6b",
"account": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "6e6404e7-4471-41e7-8994-4d28e070907e",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-06-05T11:39:39+01:00",
"first_name": "Gareth",
"updated_at": "2025-06-05T11:39:39+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"end_date": "2025-06-05T11:17:39+01:00",
"is_active": true,
"trackable": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "b9c2b71e-8b8f-4ff1-b6e4-089b41840463",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-06-05T11:39:39+01:00",
"first_name": "Gareth",
"updated_at": "2025-06-05T11:39:39+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"created_at": "2025-06-05T11:39:39+01:00",
"start_date": "2025-06-05T10:49:39+01:00",
"updated_at": "2025-06-05T11:39:39+01:00",
"description": "This is a description.",
"trackable_type": "Client",
"total_time_in_minutes": 28,
"computed_time_elapsed_in_seconds": 1680
}
]
}