---
title: "To get current stage details of the given record id"
method: POST
path: "/api/Public/currentstage"
tags: ["Public"]
---

# To get current stage details of the given record id

`POST /api/Public/currentstage`

## 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/currentstage`
- 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/currentstage/post.ts> (a function with typed inputs; its response is checked against the schema)

Sample request:
   
    POST 
    {
         "WorkflowName":"Test Workflow",
         "RecordId": "10"
    }

## Request body

- CurrentStageReqDto
  - `workflowName` string, required: Name of the worklfow
  - `recordId` integer, required: Record Id

## Response `200`

Return current stage of the record

- CurrentStageResDto
  - `status` string, nullable
  - `currentStage` string, nullable
  - `currentStageStatus` string, nullable

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Record 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)
