---
title: "Get record details by Workflow / Lookup id"
method: POST
path: "/api/Public/recorddetails"
tags: ["Public"]
---

# Get record details by Workflow / Lookup id

`POST /api/Public/recorddetails`

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

Sample request:
            
    POST 
    {
         "WorkflowName":"Test Workflow",
         "StageName":"Approval stage",
         "RecordId":"10",
         "isworkflow":true
    }

## Request body

- OpenRecordRequest
  - `isWorkflow` boolean: True for Workflows (default) and False for Lookups
  - `workflowName` string, required: Name of the worklfow / lookup
  - `stageName` string, required: For workflows, enter the workflow stage display name as stage name. For lookup workflows, enter the lookup name as the stage name
  - `recordId` integer, required: Record Id

## Response `200`

return record details.

## Other responses

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