# Save the user's edit of the application's cover letter

Replaces the application's cover letter with the user's own text; empty text removes it. Apply runs paste it into a form's cover letter text field. Requires authentication.

```http
PUT https://hiresweep.com/api/openapi/applications/{id}/cover-letter
x-api-key: YOUR_API_KEY
```

## Parameters

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

## Request body

```json
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 10000,
      "description": "The letter as plain text, or empty to remove it."
    }
  },
  "required": [
    "text"
  ]
}
```

## Responses

- `200`: The application with the saved cover letter.
