Toloka documentation

Download file

Warning

We recommend that you use the toloka.dev domain for API requests. The toloka.yandex.com domain is still supported but it will be deprecated soon.

Downloads a file attached to a task response.

Request

GET https://toloka.dev/api/v1/attachments/<file_id>/download
Authorization: OAuth <OAuth token>
GET https://sandbox.toloka.dev/api/v1/attachments/<file_id>/download
Authorization: OAuth <OAuth token>

Path parameters

Parameter Overview
file_id File ID.

Headers

Title Overview
Authorization A token for account authorization. Add OAuth as a prefix.

Response

The file is saved to your computer.