---
title: "Get triggered workflow details of given workflow and record id."
method: POST
path: "/api/Public/triggers"
tags: ["Public"]
---

# Get triggered workflow details of given workflow and record id.

`POST /api/Public/triggers`

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

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

## Request body

- TriggerRequest
  - `workflowName` string, required: Name of the workflow / lookup
  - `recordId` integer, required: Record ID

## Response `200`

return triggered workflow details

- TriggerResponse
  - `workflowName` string, nullable: Name of the workflow
  - `recordId` string, nullable: Record Id
  - `triggeredWorkflows` TriggeredWorkflow
    - `triggeredWorkflowName` string, nullable: Name of the triggered workflow
    - `triggeredWorkflowDisplayName` string, nullable: Triggered Workflow Display Name
    - `recordId` string, nullable: Record Id

## Other responses

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