Skip to main content
GET
/
hours
Get Hours
curl --request GET \
  --url https://api.projectcor.com/v1/hours \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "task_log_id": 123,
    "start": "2023-11-07T05:31:56Z",
    "stop": "2023-11-07T05:31:56Z",
    "status": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

filters
string

JSON filters: {"dateStart":"2020-05-04","dateDeadline":"2020-06-04","clients":null,"projects":null,"users":null,"labels":null,"teams":null}

page
integer
default:1
orderBy
string

JSON: {"by":"start","order":"ASC"}

Response

200 - application/json

List of hours

id
integer
task_log_id
integer
start
string<date-time>
stop
string<date-time>
status
string