Skip to main content
POST
Fetch extra hours summary

Authorizations

Authorization
string
header
required

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

Body

application/json

Either userId or teamId must be provided. Both cannot be empty.

year
integer
required
Required range: 2000 <= x <= 2200
Example:

2026

month
integer
required
Required range: 1 <= x <= 12
Example:

1

timeZone
string
required

IANA timezone of the requester

Example:

"Asia/Kolkata"

userId
string<uuid>[]
required

List of user UUIDs to fetch screenshots for

teamId
string<uuid>[]

List of team UUIDs to fetch screenshots for

Example:

Response

Fetched extra hours summary successfully.

success
boolean
Example:

true

statusCode
integer
Example:

200

statusMessage
string
Example:

"Fetched extra hours summary successfully"

error
string | null
Example:

null

data
object[]