---
title: Answers
slug: answers
docTags: 
createdAt: 2025-08-08T10:35:32.102Z
---

Application answers can be created as part of the Application payload or later.

Pushing answers after the application is created can be useful when the information is not available at the time of submission, or when the answers include file uploads and the partner prefers to use *multipart/form-data,&#x20;*&#x77;hich, due to the nature of the nested object, does not support file answers.

### Create

POST /applications/\<application-id>/answers

**Query String Parameters**

None

**Request Payload**

**Answers Object - application/json**

```shell
[
    {
        "question_id": 1,
        "text": [
            "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
        ],
    }
]
```

| question\_id | ID of the question                                                                                                                                                           |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| text         | List of answers to the question. Some questions support multiple choices.<br />If the answer is a file, a URL must be provided in text list. Jobylon will download the file. |

**Answers Object - multipart/form-data**

```curl
  --form question_id=1 \
  --form 'text=Stockholm;Gothenburg'
```

```curl
  --form question_id=2 \
  --form 'file=@/home/jobylon/document.pdf'
```

| question\_id | ID of the question                                                                                                                                                            |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| text         | Answers to the question. Some questions support multiple choices. A semicolon-separated list of answers is expected in that case.<br />**Cannot be used together with file.** |
| file         | Answer for questions that require a file as the answer. **Cannot be used together with text.**                                                                                |

**Response&#x20;**

| Name         | Type    | Description     |
| ------------ | ------- | --------------- |
| question\_id | integer | Question ID     |
| text         | string  | Question answer |

**Exceptions**

| Status | Description                                                                                                                                         |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| 400    | - Bad request, such as api credentails doesn't have access to an applicant.<br />- Answer already exists for this question.<br /> - Invalid choice. |
| 403    | Permission denied                                                                                                                                   |
| 405    | Method not supported                                                                                                                                |

