# Write the resume and/or the letter again from the review's flags

Runs tailoring and/or the cover letter again with the review's suggestions for that part as guidance. The suggestions are advice: the same checks refuse anything the resume does not state. Each part uses 1 credit. Requires a finished review. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/applications/{id}/hiring-review/revise
x-api-key: YOUR_API_KEY
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | Yes |  |

## Request body

```json
{
  "type": "object",
  "properties": {
    "parts": {
      "type": "array",
      "minItems": 1,
      "maxItems": 2,
      "items": {
        "enum": [
          "resume",
          "letter"
        ],
        "type": "string"
      },
      "description": "What to write again: the tailored resume, the cover letter, or both."
    }
  },
  "required": [
    "parts"
  ]
}
```

## Responses

- `200`: The application with its rewritten resume and/or letter.
- `502`: 502
