---
title: "x402 pay-per-call — ReworkMyText — rework text"
method: POST
path: "/x402/v1/rework"
---

# x402 pay-per-call — ReworkMyText — rework text

`POST /x402/v1/rework`

## Request

- Base URL: `https://api.scrubmytext.com`
- URL: `https://api.scrubmytext.com/x402/v1/rework`
- Auth: none declared

Dedicated x402 pay-per-call route. The first request returns HTTP 402 with PAYMENT-REQUIRED. Retry with PAYMENT-SIGNATURE. This route does not consume the free trial.

## Headers

- `PAYMENT-SIGNATURE` string

## Request body

- object
  - `text` string, required
  - `mode` 'light' | 'standard' | 'deep'

## Response `200`

Successful result

- object
  - `brand` 'ReworkMyText', required
  - `engine_version` string, required
  - `reworked_text` string, required
  - `mode` 'light' | 'standard' | 'deep', required
  - `characters_in` integer, required
  - `characters_out` integer, required
  - `wording_change_percent` integer
  - `structural_change_percent` integer
  - `transformations` object, required
  - `protected` object, required
  - `warnings` string[], required
  - `notice` string, required

## Other responses

- `400`: Invalid input
- `401`: Paid API key required or invalid
- `402`: Payment Required
- `429`: Monthly usage limit reached

---

[API](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api.md) · [All operations](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/revisions/54ace36baccf?raw)
