---
title: "POST /domains/{DomainName}/workflows"
method: POST
path: "/domains/{DomainName}/workflows"
---

# POST /domains/{DomainName}/workflows

`POST /domains/{DomainName}/workflows`

Query to list all workflows.

## Path parameters

- `DomainName` string, required

## Query parameters

- `next-token` string
- `max-results` integer

## Request body

- object
  - `WorkflowType` 'APPFLOW_INTEGRATION' — The type of workflow. The only supported value is APPFLOW_INTEGRATION.
  - `Status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETE' | 'FAILED' | 'SPLIT' | 'RETRY' | 'CANCELLED' — Status of workflow execution.
  - `QueryStartDate` string, date-time — Retrieve workflows started after timestamp.
  - `QueryEndDate` string, date-time — Retrieve workflows ended after timestamp.

## Response `200`

Success

- ListWorkflowsResponse
  - `Items` ListWorkflowsItem[] — List containing workflow details.
    - `WorkflowType` 'APPFLOW_INTEGRATION', required — The type of workflow. The only supported value is APPFLOW_INTEGRATION.
    - `WorkflowId` string, required — Unique identifier for the workflow.
    - `Status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETE' | 'FAILED' | 'SPLIT' | 'RETRY' | 'CANCELLED', required — Status of workflow execution.
    - `StatusDescription` string, required — Description for workflow execution status.
    - `CreatedAt` string, date-time, required — Creation timestamp for workflow.
    - `LastUpdatedAt` string, date-time, required — Last updated timestamp for workflow.
  - `NextToken` string — If there are additional results, this is the token for the next set of results.

## Other responses

- `480` — BadRequestException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/customer-profiles.md) · [All operations](https://skmtc.net/aws/apis/customer-profiles/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/customer-profiles/versions/471944106c88/schema)
