Get all time spents for the current user.

GET /data/user/time-spents

Optionnaly can accept date range parameters.

Query parameters

  • start_date string(date)

    Start date for filtering time spents

  • end_date string(date)

    End date for filtering time spents

Responses

  • 200 application/json

    All time spents for the current user

  • 400

    Wrong date format

GET /data/user/time-spents
curl \
 --request GET 'http://api.example.com/data/user/time-spents' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {}
]