Skip to main content
GET
/
v1
/
scanner
/
approvals
Get pending approvals
curl --request GET \
  --url http://localhost:3000/v1/scanner/approvals
{
  "approvals": [
    {
      "id": 123,
      "type": "timesheet",
      "employeeName": "<string>",
      "employeeId": 123,
      "title": "<string>",
      "description": "<string>",
      "submittedAt": "<string>",
      "status": "<string>"
    }
  ],
  "deputy_configured": true,
  "message": "<string>",
  "error": "<string>"
}

Response

200 - application/json

List of pending approvals

approvals
object[]
required
deputy_configured
boolean
required
message
string
error
string