Comparisons API

Prepare tasks by batch ID

POST /api/comparisons/prepare_tasks.json

Parameters

Name : email - required - Description : Email address

Name : auth_token - required - Description : Auth Token

Name : ids Description : Comparison IDs

Name : batch_id Description : Batch ID

Request

Headers



Route

POST /api/comparisons/prepare_tasks.json

Body

{"batch_id":2222,"email":"researcher54@university.edu","auth_token":"-ycXuDXLAG_PMREzqrYn"}

Response

Headers

Content-Type: application/json; charset=utf-8

Status

200 OK

Body

{
  "batch_id": 2222,
  "batch_url": "https://sentimentit.com/compare_batch/2222",
  "urls": [
    "https://sentimentit.com/comparisons/2024/compare",
    "https://sentimentit.com/comparisons/2025/compare"
  ]
}