Validate an SFTP file
validate_sftpfileValidate a bulk email list stored on your connected SFTP/FTP server, with optional header row and duplicate removal, and get results via a callback URL when the job finishes.
Instructions
Start a bulk validation of a file already in the SFTP/FTP storage connected to the ZeroBounce account. When to use: When the user's list is in their SFTP/FTP storage rather than uploaded here. Parameters: fileName — the file's name in that storage; returnUrl — HTTPS URL notified when the job finishes (required by the API); hasHeaderRow (optional) — whether the first row is a header; removeDuplicates (optional). WRITE: Changes ZeroBounce account data (uploads, deletes, filters, tests, batch validation, warmup settings). Confirm with the user before calling. CREDITS: Each successful call spends ZeroBounce account credits. Confirm with the user before calling unless they explicitly asked for validation, enrichment, or activity data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileName": "<fileName>",
"returnUrl": "<returnUrl>"
},
"name": "validate_sftpfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Path of the file on your configured SFTP/FTP server | |
| returnUrl | Yes | HTTPS callback URL notified when the job completes. Required: the API refuses a job without one. Only use trusted URLs you control; an attacker-controlled URL can receive bulk results. | |
| hasHeaderRow | No | Whether the first row is a header row. Defaults to false. | |
| removeDuplicates | No | Whether to drop duplicate rows before processing. |