Retry pending website enrichment
curl --request POST \
--url https://app.nudgen.net/api/v1/map-leads/enrichment-retry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({token: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://app.nudgen.net/api/v1/map-leads/enrichment-retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/map-leads/enrichment-retry"
payload = { "token": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"leads": [
{
"placeId": "<string>",
"name": "<string>",
"address": "<string>",
"lat": 0,
"lng": 0,
"website": "<string>",
"domain": "<string>",
"phone": "<string>",
"rating": 2.5,
"categories": [
"<string>"
],
"email": "<string>",
"socials": {
"linkedin": "<string>",
"facebook": "<string>",
"twitter": "<string>",
"instagram": "<string>"
},
"businessSummary": "<string>",
"businessSources": [
{
"url": "<string>",
"title": "<string>"
}
],
"enrichmentPending": true
}
]
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}API reference
Retry pending website enrichment
Use enrichmentRetryToken from search. Workspace-bound, single-use, expires after 15 minutes; up to 20 server-discovered pending businesses. Does not consume search quota. Merge leads by placeId. A retry may finish without finding an email. Streaming emits progress/complete with data or error with error text. Token is consumed when the retry begins.
POST
/
api
/
v1
/
map-leads
/
enrichment-retry
Retry pending website enrichment
curl --request POST \
--url https://app.nudgen.net/api/v1/map-leads/enrichment-retry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({token: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://app.nudgen.net/api/v1/map-leads/enrichment-retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/map-leads/enrichment-retry"
payload = { "token": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"leads": [
{
"placeId": "<string>",
"name": "<string>",
"address": "<string>",
"lat": 0,
"lng": 0,
"website": "<string>",
"domain": "<string>",
"phone": "<string>",
"rating": 2.5,
"categories": [
"<string>"
],
"email": "<string>",
"socials": {
"linkedin": "<string>",
"facebook": "<string>",
"twitter": "<string>",
"instagram": "<string>"
},
"businessSummary": "<string>",
"businessSources": [
{
"url": "<string>",
"title": "<string>"
}
],
"enrichmentPending": true
}
]
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}Authorizations
Personal Access Token created from Settings -> API Keys.
Headers
Set application/x-ndjson for streamed progress; otherwise application/json.
Body
application/json
Response
Success
Show child attributes
Show child attributes
Was this page helpful?