---
title: "Get pending request details of the given workflow."
method: POST
path: "/api/Reports/pendingrequest"
tags: ["Reports"]
---

# Get pending request details of the given workflow.

`POST /api/Reports/pendingrequest`

## Request

- Base URL: `https://apidocs.cflowapps.com` (the document declares no server; this is the origin it was published from)
- URL: `https://apidocs.cflowapps.com/api/Reports/pendingrequest`
- Auth: API key in header `X-Api-Key` and API key in header `X-User-Key`
- TypeScript: <https://skmtc.dev/cflowapps/apis/cflow-public-api/docs/api/Reports/pendingrequest/post.ts> (a function with typed inputs; its response is checked against the schema)

Sample Request

         POST
         {
           "WorkflowName": "Test Workflow",
           "PendingUser": "John"
           "StartDate": "03/01/2024",
           "EndDate": "03/25/2024"            
        }

## Request body

- PendingRequestReportDto
  - `workflowName` string, required: Name of the worklfow
  - `pendingUser` string, required: Username of the pending user
  - `startDate` string, required: Date From (MM/dd/yyyy)
  - `endDate` string, required: Date To (MM/dd/yyyy)

## Response `200`

List of pending request data.

## Other responses

- `400`: Bad request
- `401`: If you don't have access to the report, you cannot get the report data.
- `403`: Forbidden
- `404`: No pending request details found for the given workflow.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/cflowapps/apis/cflow-public-api.md) - [All operations](https://skmtc.dev/cflowapps/apis/cflow-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cflowapps/apis/cflow-public-api/revisions/af0dadd0ad10?raw)
