---
title: "Reflow by subject"
method: POST
path: "/workflows/events/subject/{subjectId}/reflow"
tags: ["Workflows"]
---

# Reflow by subject

`POST /workflows/events/subject/{subjectId}/reflow`

## Request

- Base URL: `https://{prefix}.api.sandbox.checkout.com`
- URL: `https://{prefix}.api.sandbox.checkout.com/workflows/events/subject/{subjectId}/reflow`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `string` scopes: `flow`, `flow:reflow`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/checkout/apis/checkout-com-api-reference/docs/workflows/events/subject/:subjectId/reflow/post.ts> (a function with typed inputs; its response is checked against the schema)

Reflows the events associated with a subject ID (for example, a payment ID or a dispute ID) and triggers the actions of any workflows with matching conditions.

## Path parameters

- `subjectId` string, required

## Response `202`

Event reflow initiated successfully

## Other responses

- `401`: Unauthorized
- `404`: Events for reflow not found
- `500`: Internal Error

---

[API](https://skmtc.dev/checkout/apis/checkout-com-api-reference.md) - [All operations](https://skmtc.dev/checkout/apis/checkout-com-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/checkout/apis/checkout-com-api-reference/revisions/0f1abdb1c3e9?raw)
