Skip to main content
POST
Fetch Recent Screenshot

Authorizations

Authorization
string
header
required

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

Body

application/json

Request payload to fetch recent dashboard screenshots. Either userId or teamId must be provided. Both cannot be empty.

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

Recent screenshot fetched successfully.

success
boolean
Example:

true

statusCode
integer
Example:

200

statusMessage
string
Example:

"Fetched recent screenshots successfully"

error
object | null

Error object if request fails, null if successful

data
object[]

List of screenshots captured in the requested time interval