curl --request POST \
--url https://api.getnexor.ai/api/public/leads/bulk/status \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"lead_ids": [
"<unknown>"
],
"status_key": "<string>",
"reason": "<unknown>",
"confirm_transfer_side_effects": false
}
'import requests
url = "https://api.getnexor.ai/api/public/leads/bulk/status"
payload = {
"lead_ids": ["<unknown>"],
"status_key": "<string>",
"reason": "<unknown>",
"confirm_transfer_side_effects": False
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
lead_ids: ['<unknown>'],
status_key: '<string>',
reason: '<unknown>',
confirm_transfer_side_effects: false
})
};
fetch('https://api.getnexor.ai/api/public/leads/bulk/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getnexor.ai/api/public/leads/bulk/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'lead_ids' => [
'<unknown>'
],
'status_key' => '<string>',
'reason' => '<unknown>',
'confirm_transfer_side_effects' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getnexor.ai/api/public/leads/bulk/status"
payload := strings.NewReader("{\n \"lead_ids\": [\n \"<unknown>\"\n ],\n \"status_key\": \"<string>\",\n \"reason\": \"<unknown>\",\n \"confirm_transfer_side_effects\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-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))
}HttpResponse<String> response = Unirest.post("https://api.getnexor.ai/api/public/leads/bulk/status")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"lead_ids\": [\n \"<unknown>\"\n ],\n \"status_key\": \"<string>\",\n \"reason\": \"<unknown>\",\n \"confirm_transfer_side_effects\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getnexor.ai/api/public/leads/bulk/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"lead_ids\": [\n \"<unknown>\"\n ],\n \"status_key\": \"<string>\",\n \"reason\": \"<unknown>\",\n \"confirm_transfer_side_effects\": false\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"total": 250,
"updated": 1,
"already_current": 1,
"blocked_transfer_side_effects": 1,
"failed": [
{
"lead_id": "<unknown>",
"error": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"field": "<string>",
"value": "<unknown>",
"allowed": [
"<unknown>"
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"field": "<string>",
"value": "<unknown>",
"allowed": [
"<unknown>"
]
}Update Lead Status in Bulk
This operation lets you update lead status in bulk for the authenticated Nexor account. This reference documents verified path, query, and top-level JSON body fields, observed response status codes, and top-level response fields. Provider-owned or deeply nested response shapes may remain open.
curl --request POST \
--url https://api.getnexor.ai/api/public/leads/bulk/status \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"lead_ids": [
"<unknown>"
],
"status_key": "<string>",
"reason": "<unknown>",
"confirm_transfer_side_effects": false
}
'import requests
url = "https://api.getnexor.ai/api/public/leads/bulk/status"
payload = {
"lead_ids": ["<unknown>"],
"status_key": "<string>",
"reason": "<unknown>",
"confirm_transfer_side_effects": False
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
lead_ids: ['<unknown>'],
status_key: '<string>',
reason: '<unknown>',
confirm_transfer_side_effects: false
})
};
fetch('https://api.getnexor.ai/api/public/leads/bulk/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getnexor.ai/api/public/leads/bulk/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'lead_ids' => [
'<unknown>'
],
'status_key' => '<string>',
'reason' => '<unknown>',
'confirm_transfer_side_effects' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getnexor.ai/api/public/leads/bulk/status"
payload := strings.NewReader("{\n \"lead_ids\": [\n \"<unknown>\"\n ],\n \"status_key\": \"<string>\",\n \"reason\": \"<unknown>\",\n \"confirm_transfer_side_effects\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-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))
}HttpResponse<String> response = Unirest.post("https://api.getnexor.ai/api/public/leads/bulk/status")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"lead_ids\": [\n \"<unknown>\"\n ],\n \"status_key\": \"<string>\",\n \"reason\": \"<unknown>\",\n \"confirm_transfer_side_effects\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getnexor.ai/api/public/leads/bulk/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"lead_ids\": [\n \"<unknown>\"\n ],\n \"status_key\": \"<string>\",\n \"reason\": \"<unknown>\",\n \"confirm_transfer_side_effects\": false\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"total": 250,
"updated": 1,
"already_current": 1,
"blocked_transfer_side_effects": 1,
"failed": [
{
"lead_id": "<unknown>",
"error": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"field": "<string>",
"value": "<unknown>",
"allowed": [
"<unknown>"
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"field": "<string>",
"value": "<unknown>",
"allowed": [
"<unknown>"
]
}- A terminal status can trigger real downstream terminal side effects.
- When the status has terminal transfer_config, affected leads are withheld unless confirm_transfer_side_effects is exactly true. Opting in can send AI WhatsApp messages and start destination cadence for up to 500 leads.
- Per-lead work runs with concurrency 10, and partial changes are not rolled back when another lead fails.
- This forced transition bypasses automatic downgrade and field-stage gates.
Authorizations
API key for authentication. Keys are prefixed with nxr_live_.
Body
1 - 500 elementsString UUIDs are processed; malformed/non-string entries are returned in failed[]. Duplicates are silently de-duplicated after total is captured.
Only truthy string validation; whitespace-only strings pass the route.
1Used only when it is a string; otherwise null. Odoo intake keys override this value and provenance.
Only strict JSON true opts in.
Response
Batch outcome; partial/per-row failures do not change HTTP status.