Toloka documentation

Reply to message thread

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.

Replies to a message thread.

Request

POST https://toloka.dev/api/v1/message-threads/<thread_id>/reply
Authorization: OAuth <OAuth token>
Content-Type: application/JSON
POST https://sandbox.toloka.dev/api/v1/message-threads/<thread_id>/reply
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

Path parameters

Parameter Overview
thread_id Message thread ID.

Headers

Title Overview
Authorization A token for account authorization. Add OAuth as a prefix.
Content-Type Specifies the data format in the request body.

Request body

{
  "text": {
    "EN": "Thank you!"
  }
}

Parameter

Overview

text

string

Message text. You can enter the text in multiple languages (the message is sent in the Toloker's language). Format: "<language RU/EN/TR/ID/FR>": "<message text>".