Toloka documentation

Accessing the API

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.

All requests to the Toloka API must specify the resource URL and the OAuth token.

Query example

GET https://sandbox.toloka.dev/api/v1/assignments?pool_id=12345
Authorization: OAuth <OAuth token>

Resource URL

  • For requests to the sandbox: https://sandbox.toloka.dev/api/v1/<the path to the resource>.

  • For requests to the production version: https://toloka.dev/api/v1/<the path to the resource>.

Getting an OAuth token

Working with the Toloka API requires an OAuth access token. Register in Toloka and get an OAuth token in the requester interface:

Accessing the API