# Answer the questions a running application form asked

Answers the required questions a run waiting on them put to the user. The answers are saved to the apply profile for later forms, and the run fills them in and goes on. Requires authentication.

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

## Parameters

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

## Request body

```json
{
  "type": "object",
  "properties": {
    "answers": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "object",
        "properties": {
          "question": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "answer": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "question",
          "answer"
        ]
      },
      "description": "One answer to each question the running form asked, saved to the apply profile too."
    }
  },
  "required": [
    "answers"
  ]
}
```

## Responses

- `200`: The application, with its run filling the form again.
