# Fill the application form with the tailored resume

Starts an assisted apply run: Hiresweep's browser opens the posting, reaches the company's form (never signing in to LinkedIn or anywhere else), fills it from the tailored resume and the apply profile, attaches the tailored resume as a PDF, and waits. Nothing is submitted until submitApplication, unless the apply profile turns on automatic submission. Answers given here are saved to the apply profile first. Requires a tailored copy. Refused with APPLY_IN_OWN_BROWSER, before any credit is held, when the form asks the candidate to sign in or create an account (Workday): fill those in the user's own browser instead. Requires authentication.

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

## Parameters

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

## Request body

```json
{
  "type": "object",
  "properties": {
    "answers": {
      "type": "array",
      "maxItems": 50,
      "items": {
        "type": "object",
        "properties": {
          "question": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "answer": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "question",
          "answer"
        ]
      },
      "description": "Answers to a blocked run's questions, saved to the apply profile before this run starts."
    },
    "applyUrl": {
      "type": "string",
      "maxLength": 2000,
      "description": "The employer's own form for a LinkedIn posting, read in the user's browser. The run starts there."
    }
  }
}
```

## Responses

- `200`: The application, now applying.
- `402`: 402
- `409`: 409
