KintsugiKintsugi
API reference / Get a bulk-classification import's rejected-rows file

Get a bulk-classification import's rejected-rows file

GET/products/bulk-classifications/{import_id}/rejected-file

Return download instructions for the rows rejected from a bulk-classification import. Returns 404 if the import does not exist, belongs to an organization your credential cannot access, or has no rejected-rows file.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Organization-Idstring

Target organization id (Organization-Id selector).

Connection-Idstring

Target connection id; resolves to its organization.

Entity-Idstring

Platform entity id; resolves to a connection's organization.

Entity-Sourcestring

Optional source to disambiguate an Entity-Id.

Path parameters

import_idstringRequired

The unique identifier of the import.

Response

downloadUrlstringRequired

Presigned URL to download the rejected rows; empty when the content is returned inline via inlineContentBase64 instead.

expiresInSecondsintegerRequired

Seconds until downloadUrl expires.

inlineContentBase64string

Base64-encoded rejected-rows content, when small enough to return inline instead of via downloadUrl.

downloadNamestring

Suggested filename for the downloaded content.

200

Successful Response

400

The request was invalid.

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

422

The request failed validation.

503

A service this request depends on was unavailable. Retry the request.

cURL
GET /products/bulk-classifications/{import_id}/rejected-file
-H "Api-Key: ***"
-H "Api-Version: 2026-07-21"
Example request
https://api.trykintsugi.com/products/bulk-classifications/{import_id}/rejected-file
Response
{
"downloadUrl": "https://www.example.com",
"expiresInSeconds": 1,
"inlineContentBase64": "inline content base64",
"downloadName": "Acme Corp"
}
Get a bulk-classification import's rejected-rows file (2026-07-21) | Kintsugi API Reference