Skip to navigation

Bulk update Reaction

Beta

Bulk update reactions asynchronously.

The scratch file must be a JSONL file where each line is a JSON object with the following structure:

{“request_id”: “unique-id-per-row”, “input_object”: {}}

Each input_object must match the reaction create or update input schema for that operation.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.
fileIdstringRequired

The API ID of the scratch file (scrfile_XXXXXXXX) containing the items to import. The referenced file must be a scratch file whose upload has completed successfully.

Response

Task started
pollingUristringOptionalformat: "uri"
taskIdstringOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error