GET /api/v1/study/{studyId}/attachment/{attachmentId}
Download an attachment that is associated with a question of a study.
Path parameters
The following table lists the path parameters that you need to provide to make a request.
| Parameter | Required? | Data Type | Description |
|---|---|---|---|
studyId |
Required | String | The ID of the study that has the attachment you want to retrieve. |
attachmentId |
Required | String | The ID of the attachment you want to retrieve. |
A successful response downloads the file and returns an empty object.
Error codes and messages
The following table provides a list of common errors and their respective HTTP error codes.
| HTTP Code | Status | Description |
|---|---|---|
| 404 | Bad Request | The attachment cannot be found. |