HigherData / Tool
suppress.import
Store a CSV or JSONL suppression chunk for one hour, then commit the finished upload. Dry run returns the report and does not add entries. A chunk holds at most 5,000 rows.
Scopes: suppress:write
Send execute false to preview the change. Send execute true to write it. A preview does not change stored data.
REST: POST /api/v1/tools/suppress.import?execute=false. The same call is POST /api/v1/suppress/import?execute=false.
MCP tool name: suppress_import. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| listId | string | no | Suppression list to import into. Required on the first chunk. UUID. |
| uploadId | string | no | Upload id returned by the first chunk. Omit it to start a new upload. UUID. |
| format | string | no | File format of this chunk. One of: csv, jsonl. |
| keyType | string | no | Kind of value being suppressed. One of: email, email_sha256, domain, company_id, person_id, linkedin_url, phone_e164. |
| body | string | no | Chunk text. At most 1500000 characters. |
| header | boolean | yes | True when the chunk starts with a header row. |
| done | boolean | yes | True when this chunk is the last one. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| executed | boolean | yes | |
| uploadId | string | yes | UUID. |
| report | object | yes | |
| report. | integer | yes | At least 0. |
| report. | integer | yes | At least 0. |
| report. | integer | yes | At least 0. |
| report. | integer | yes | At least 0. |
| report. | integer | yes | At least 0. |
| report. | array | yes | At most 100 items. |
| inserted | value | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/suppress.import?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"listId": "11111111-1111-4111-8111-111111111111",
"format": "csv",
"keyType": "domain",
"body": "acme.example\n",
"done": true
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("suppress.import", {
"listId": "11111111-1111-4111-8111-111111111111",
"format": "csv",
"keyType": "domain",
"body": "acme.example\n",
"done": true
}, { execute: false });Example
{
"input": {
"listId": "11111111-1111-4111-8111-111111111111",
"format": "csv",
"keyType": "domain",
"body": "acme.example\n",
"done": true
},
"output": {
"executed": false,
"uploadId": "11111111-1111-4111-8111-111111111111",
"report": {
"rowsParsed": 1,
"invalid": 0,
"duplicates": 0,
"alreadyPresent": 0,
"new": 1,
"invalidRows": []
},
"inserted": null
}
}