Download file

Attention

The toloka.yandex.com domain will be disabled starting April 1, 2023. Please use the toloka.dev domain for API requests.

Downloads a file attached to a task response.

Request

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

Path parameters

ParameterOverview
file_idFile ID.

Headers

TitleOverview
AuthorizationA token for account authorization. Add OAuth as a prefix.

Response

The file is saved to your computer.

Contact support
Toloka API
OverviewAccessing the APIRate limiting
Quick start
Reference
Project
Pools
Training
Subscriptions to events
Toloker selection
Ways to upload tasks
Tasks
Task suites
Tracking operations
Getting responses
Checking completed tasks
Rewards
Messages for Tolokers
Various parameters
Libraries