API Endpoint: BULK files
These endpoints are for processing BULK files, allowing multiple records to be validated and standardized in a single submission, using the same verification logic as the individual API endpoints.
POST /api/v1/bulk/upload
https://www.tincomply.com/api/v1/bulk/upload
Uploads a CSV, TXT or Excel file for asynchronous processing. The first row is a header; columns are recognized by name (TIN, name, address, NPI, DOT and so on), and any other columns, such as your own reference number, are carried through to the results file.
Form fields
| Field | Type | Description |
|---|---|---|
filerequired |
file | The file to process: CSV, TXT (comma, semicolon, pipe or tab delimited) or Excel. |
requestedServices |
string | Service identifiers, as a JSON array or comma-separated list. Defaults to every service your columns support. |
Send as multipart/form-data. Every recognized column must have a value on every row; a file with an invalid row is rejected with a 400 that lists up to 50 row errors. The bulk agreement must be accepted once in the portal before the first upload.
Sample request
curl -X POST https://www.tincomply.com/api/v1/bulk/upload \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@vendors.csv" \
-F "requestedServices=irs-tin-name-matching,list-sanctions"Sample response
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}GET /api/v1/bulk
https://www.tincomply.com/api/v1/bulk
Lists your uploaded bulk files with their status. Parameters are read from the query string.
Query parameters
| Field | Type | Description |
|---|---|---|
page |
int | Page number. |
count |
int | Page size. |
search |
string | Optional filename filter. |
direction |
string | ASC or DESC. |
Sample request
curl "https://www.tincomply.com/api/v1/bulk?page=1&count=20" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Accept: application/json"Sample response
[
{
"key": "cwWX8sZHNEyZZVflHztsbgO4",
"filename": "vendors.csv",
"totalRows": 1200,
"requestedOn": "2026-10-01T13:00:00Z",
"status": 2,
"completedOn": "2026-10-01T13:04:31Z"
}
]POST /api/v1/bulk/details
https://www.tincomply.com/api/v1/bulk/details
Returns the status of one bulk file.
Request body
| Field | Type | Description |
|---|---|---|
idrequired |
string | The bulk file id returned by bulk/upload. |
Possible values for state
| Value | Meaning |
|---|---|
0 | Unprocessed |
1 | In process |
2 | Processed |
3 | Retry |
4 | Failure |
5 | Bulk |
6 | Deleted |
7 | Bulk file in process |
8 | Hold |
Returns 404 when the id does not belong to your account.
Sample request
curl -X POST https://www.tincomply.com/api/v1/bulk/details \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"cwWX8sZHNEyZZVflHztsbgO4"}'import requests
response = requests.post(
"https://www.tincomply.com/api/v1/bulk/details",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"id": "cwWX8sZHNEyZZVflHztsbgO4",
},
)
response.raise_for_status()
print(response.json())using System.Text;
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-API-Key", "YOUR_API_KEY");
var body = """
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
""";
var response = await client.PostAsync(
"https://www.tincomply.com/api/v1/bulk/details",
new StringContent(body, Encoding.UTF8, "application/json"));
Console.WriteLine(await response.Content.ReadAsStringAsync());const response = await fetch("https://www.tincomply.com/api/v1/bulk/details", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
id: "cwWX8sZHNEyZZVflHztsbgO4",
}),
});
const data = await response.json();
console.log(data);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
""";
HttpRequest request = HttpRequest.newBuilder(URI.create("https://www.tincomply.com/api/v1/bulk/details"))
.header("X-API-Key", "YOUR_API_KEY")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
// Parse with your JSON library (Jackson, Gson) and read the response.
System.out.println(response.body());
}
}package main
import (
"bytes"
"encoding/json"
"fmt"
"log"
"net/http"
)
func main() {
body := []byte(`{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}`)
req, err := http.NewRequest("POST", "https://www.tincomply.com/api/v1/bulk/details", bytes.NewReader(body))
if err != nil {
log.Fatal(err)
}
req.Header.Set("X-API-Key", "YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
var data map[string]any
if err := json.NewDecoder(resp.Body).Decode(&data); err != nil {
log.Fatal(err)
}
fmt.Println(data)
}$body = @'
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
'@
$response = Invoke-RestMethod -Method Post `
-Uri "https://www.tincomply.com/api/v1/bulk/details" `
-Headers @{ "X-API-Key" = "YOUR_API_KEY" } `
-ContentType "application/json" `
-Body $body
$responseSample response
{
"details": {
"filename": "vendors.csv",
"totalRows": 1200,
"state": 2,
"completedOn": "2026-10-01T13:04:31Z"
}
}POST /api/v1/bulk/download
https://www.tincomply.com/api/v1/bulk/download
Downloads the results file once processing has finished. Excel uploads are returned as CSV.
Request body
| Field | Type | Description |
|---|---|---|
idrequired |
string | The bulk file id. |
Returns the file with HTTP 200, 423 when the file is still processing, and 404 when the id is unknown or the file was deleted.
Sample request
curl -X POST https://www.tincomply.com/api/v1/bulk/download \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"cwWX8sZHNEyZZVflHztsbgO4"}'import requests
response = requests.post(
"https://www.tincomply.com/api/v1/bulk/download",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"id": "cwWX8sZHNEyZZVflHztsbgO4",
},
)
response.raise_for_status()
print(response.json())using System.Text;
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-API-Key", "YOUR_API_KEY");
var body = """
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
""";
var response = await client.PostAsync(
"https://www.tincomply.com/api/v1/bulk/download",
new StringContent(body, Encoding.UTF8, "application/json"));
Console.WriteLine(await response.Content.ReadAsStringAsync());const response = await fetch("https://www.tincomply.com/api/v1/bulk/download", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
id: "cwWX8sZHNEyZZVflHztsbgO4",
}),
});
const data = await response.json();
console.log(data);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
""";
HttpRequest request = HttpRequest.newBuilder(URI.create("https://www.tincomply.com/api/v1/bulk/download"))
.header("X-API-Key", "YOUR_API_KEY")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
// Parse with your JSON library (Jackson, Gson) and read the response.
System.out.println(response.body());
}
}package main
import (
"bytes"
"encoding/json"
"fmt"
"log"
"net/http"
)
func main() {
body := []byte(`{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}`)
req, err := http.NewRequest("POST", "https://www.tincomply.com/api/v1/bulk/download", bytes.NewReader(body))
if err != nil {
log.Fatal(err)
}
req.Header.Set("X-API-Key", "YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
var data map[string]any
if err := json.NewDecoder(resp.Body).Decode(&data); err != nil {
log.Fatal(err)
}
fmt.Println(data)
}$body = @'
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
'@
$response = Invoke-RestMethod -Method Post `
-Uri "https://www.tincomply.com/api/v1/bulk/download" `
-Headers @{ "X-API-Key" = "YOUR_API_KEY" } `
-ContentType "application/json" `
-Body $body
$responsePOST /api/v1/bulk/delete
https://www.tincomply.com/api/v1/bulk/delete
Deletes a bulk file and its results.
Request body
| Field | Type | Description |
|---|---|---|
idrequired |
string | The bulk file id. |
Returns 404 when nothing was deleted. Any other response means the file was removed.
Sample request
curl -X POST https://www.tincomply.com/api/v1/bulk/delete \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"cwWX8sZHNEyZZVflHztsbgO4"}'import requests
response = requests.post(
"https://www.tincomply.com/api/v1/bulk/delete",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"id": "cwWX8sZHNEyZZVflHztsbgO4",
},
)
response.raise_for_status()
print(response.json())using System.Text;
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-API-Key", "YOUR_API_KEY");
var body = """
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
""";
var response = await client.PostAsync(
"https://www.tincomply.com/api/v1/bulk/delete",
new StringContent(body, Encoding.UTF8, "application/json"));
Console.WriteLine(await response.Content.ReadAsStringAsync());const response = await fetch("https://www.tincomply.com/api/v1/bulk/delete", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
id: "cwWX8sZHNEyZZVflHztsbgO4",
}),
});
const data = await response.json();
console.log(data);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
""";
HttpRequest request = HttpRequest.newBuilder(URI.create("https://www.tincomply.com/api/v1/bulk/delete"))
.header("X-API-Key", "YOUR_API_KEY")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
// Parse with your JSON library (Jackson, Gson) and read the response.
System.out.println(response.body());
}
}package main
import (
"bytes"
"encoding/json"
"fmt"
"log"
"net/http"
)
func main() {
body := []byte(`{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}`)
req, err := http.NewRequest("POST", "https://www.tincomply.com/api/v1/bulk/delete", bytes.NewReader(body))
if err != nil {
log.Fatal(err)
}
req.Header.Set("X-API-Key", "YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
var data map[string]any
if err := json.NewDecoder(resp.Body).Decode(&data); err != nil {
log.Fatal(err)
}
fmt.Println(data)
}$body = @'
{
"id": "cwWX8sZHNEyZZVflHztsbgO4"
}
'@
$response = Invoke-RestMethod -Method Post `
-Uri "https://www.tincomply.com/api/v1/bulk/delete" `
-Headers @{ "X-API-Key" = "YOUR_API_KEY" } `
-ContentType "application/json" `
-Body $body
$responseErrors
Requests that cannot be processed return HTTP 400 with an object keyed by field name, each listing what was wrong. Authentication, permission and other status codes are covered in Errors & service status.
This endpoint requires an API key with the Bulk permission.
See how this check works in the portal and what it costs: Bulk File Processing