---
title: "To search a record"
method: POST
path: "/api/Public/searchrecord"
tags: ["Public"]
---

# To search a record

`POST /api/Public/searchrecord`

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

Sample request:
            
    Post api/public/searchrecord?Name=john&Age=22

## Request body

- SearchRecordDto
  - `workflowName` string, required: Name of the worklfow
  - `stageName` string, required: Name of the stage

## Response `200`

Return status of the request

- SearchRecordListResDto
  - `records` object[], 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)
