Run Column on Contacts Table
Populate or refresh a column’s data for some or all rows in the table. This is asynchronous - the call returns immediately with status: "processing"; poll Get Contacts Table for isProcessing and per-column row-status counts to know when it’s done, then read the values via Get Contacts Table Entities.
runScope values:
all- every row, including already-processed ones (re-runs / refreshes). Most expensive.missing- only rows that have never been run for this column. Cheapest, safe to call repeatedly.specific- only theentityIdsyou pass. Also how you implement “run for this page” - fetch the page via Get Contacts Table Entities, then pass those IDs here.
Billing: Charged per row processed, per the column’s credit tier. Re-running with
allcharges again for rows that already have data.
curl --request POST \
--url https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"runScope": "specific",
"entityIds": [
"10042851",
"10042852"
],
"owner": {
"email": "user@example.com"
}
}
'import requests
url = "https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run"
payload = {
"runScope": "specific",
"entityIds": ["10042851", "10042852"],
"owner": { "email": "user@example.com" }
}
headers = {
"api_key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {api_key: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
runScope: 'specific',
entityIds: ['10042851', '10042852'],
owner: {email: 'user@example.com'}
})
};
fetch('https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run")
.header("api_key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"runScope\": \"specific\",\n \"entityIds\": [\n \"10042851\",\n \"10042852\"\n ],\n \"owner\": {\n \"email\": \"user@example.com\"\n }\n}")
.asString();package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run"
payload := strings.NewReader("{\n \"runScope\": \"specific\",\n \"entityIds\": [\n \"10042851\",\n \"10042852\"\n ],\n \"owner\": {\n \"email\": \"user@example.com\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api_key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"columnId": "c1",
"runScope": "all",
"status": "processing"
},
"billing": {
"creditsCharged": 3,
"resultsReturned": 1
}
}Authorizations
Your Lusha API key. You can find this in your Lusha dashboard under API settings.
Include this key in the api_key header for all requests.
Body
Controls which rows a column operation applies to. all re-runs every row, including already-processed ones. missing only runs rows that don't have a value for this column yet. specific requires entityIds.
all, missing, specific Identifies the user acting on the table, and resolves to a user on your account. Required on every table-route call when authenticating with an API key (there is no signed-in user) - omitting it returns 400. Optional for OAuth/token callers, since the caller is already identified by the token; still accepted if you want to act on behalf of another owner.
Show child attributes
Show child attributes
Required when runScope is specific.
Was this page helpful?
curl --request POST \
--url https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"runScope": "specific",
"entityIds": [
"10042851",
"10042852"
],
"owner": {
"email": "user@example.com"
}
}
'import requests
url = "https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run"
payload = {
"runScope": "specific",
"entityIds": ["10042851", "10042852"],
"owner": { "email": "user@example.com" }
}
headers = {
"api_key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {api_key: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
runScope: 'specific',
entityIds: ['10042851', '10042852'],
owner: {email: 'user@example.com'}
})
};
fetch('https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run")
.header("api_key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"runScope\": \"specific\",\n \"entityIds\": [\n \"10042851\",\n \"10042852\"\n ],\n \"owner\": {\n \"email\": \"user@example.com\"\n }\n}")
.asString();package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.lusha.com/v3/contacts/tables/{table_id}/columns/{column_id}/run"
payload := strings.NewReader("{\n \"runScope\": \"specific\",\n \"entityIds\": [\n \"10042851\",\n \"10042852\"\n ],\n \"owner\": {\n \"email\": \"user@example.com\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api_key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"columnId": "c1",
"runScope": "all",
"status": "processing"
},
"billing": {
"creditsCharged": 3,
"resultsReturned": 1
}
}