Skip to main content
GET
/
api
/
v1
/
time-entries
/
{timeEntryId}
Get time entry
curl --request GET \
  --url https://api.contracting.kukkingu.software/api/v1/time-entries/{timeEntryId} \
  --header 'Authorization: Bearer <token>' \
  --header 'tenant-id: <tenant-id>'
{
  "data": {
    "id": "tsh_8f4d4gk1p9h2x0s7v3n5c1a9",
    "project": "prj_8f4d4gk1p9h2x0s7v3n5c1a9",
    "billable": "bil_eym9hcqlh1m7v3d36blf0vfx",
    "date": "2023-10-05",
    "durationSeconds": 3600,
    "createdAt": "2023-10-05T14:48:00.000Z",
    "updatedAt": "2023-10-05T14:48:00.000Z",
    "description": "Implemented authentication flow.",
    "referenceSource": "JIRA",
    "referenceId": "PROJ-123"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

tenant-id
string
required

Specifies the tenant context for the request. All endpoints operate within this tenant scope.

Example:

"tnt_pfh0haxfpzowht3oi213cqos"

Path Parameters

timeEntryId
string
required

Unique identifier of the time entry.

Example:

"tsh_8f4d4gk1p9h2x0s7v3n5c1a9"

Query Parameters

expand
string

Comma-separated list of relations to expand. Allowed values: project, project.contract, project.contract.client, billable, billable.invoice, billable.invoice.contract, billable.invoice.contract.client.

Example:

"project,project.contract,project.contract.client,billable,billable.invoice,billable.invoice.contract,billable.invoice.contract.client"

Response

Default Response

Standard success response payload wrapped in a data property.

data
object
required

Time entry resource returned by the API.