---
title: "Get all pending items of the given user"
method: GET
path: "/api/Public/pendingitems/{username}"
tags: ["Public"]
---

# Get all pending items of the given user

`GET /api/Public/pendingitems/{username}`

## 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/Public/pendingitems/{username}`
- 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/Public/pendingitems/:username/get.ts> (a function with typed inputs; its response is checked against the schema)

Sample request:
            
    Get api/public/pendingitems/john

## Path parameters

- `username` string, required

## Response `200`

List of pending items

- PendingRequests[]
  - `workflowId` integer: Workflow Id
  - `workflowName` string, nullable: Workflow Name
  - `processStage` string, nullable: Process Stage
  - `recordId` integer: Record Id
  - `pendingSince` string, nullable: Pending Since

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Pending List Not Found
- `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)
