Historial de llamadas de un lote
curl --request GET \
--url https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history \
--header 'apikey: <apikey>'import requests
url = "https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history"
headers = {"apikey": "<apikey>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {apikey: '<apikey>'}};
fetch('https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history', 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.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"apikey: <apikey>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apikey", "<apikey>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history")
.header("apikey", "<apikey>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = '<apikey>'
response = http.request(request)
puts response.read_body{
"data": [
[
"01a07b9f-cd80-7b76-a602-256f75e1bce9",
1,
"CLI-004",
"Pedro López",
"+5491177771234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.848Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"81e9b7ca-ca02-4532-8667-d6a68ffff3a6"
],
[
"01a07b9f-cd80-7d2e-b035-08e5d70aa5d8",
1,
"CLI-005",
"Ana Martínez",
"+5491188881234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.781Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"217fb3c4-ab9a-497f-a581-fe3f2f2269ff"
],
[
"01a07b9f-cd7f-772c-adc5-e05f5b20d196",
1,
"CLI-002",
"Juan Pérez",
"+5491155551234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.603Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"874b769d-0425-4d49-9e6d-a66643a910fc"
],
[
"01a07b9f-cd80-79fd-8f3a-e0ce135d68df",
1,
"CLI-003",
"María García",
"+5491166661234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.285Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"0c5c0429-c186-409a-b4c4-145c476368f9"
]
],
"columns": [
"contactId",
"attemptCount",
"identifier",
"name",
"address",
"result_code",
"result_description",
"createdAt",
"channelId",
"dialId"
],
"pagination": {
"total": 7,
"limit": 20,
"offset": 0
}
}
Historial y auditoría
Historial de llamadas de un lote
Consulta los intentos de llamada registrados en un lote.
GET
/
autocontact
/
api
/
v1
/
batches
/
{batchId}
/
event-history
Historial de llamadas de un lote
curl --request GET \
--url https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history \
--header 'apikey: <apikey>'import requests
url = "https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history"
headers = {"apikey": "<apikey>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {apikey: '<apikey>'}};
fetch('https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history', 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.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"apikey: <apikey>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apikey", "<apikey>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history")
.header("apikey", "<apikey>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/event-history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = '<apikey>'
response = http.request(request)
puts response.read_body{
"data": [
[
"01a07b9f-cd80-7b76-a602-256f75e1bce9",
1,
"CLI-004",
"Pedro López",
"+5491177771234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.848Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"81e9b7ca-ca02-4532-8667-d6a68ffff3a6"
],
[
"01a07b9f-cd80-7d2e-b035-08e5d70aa5d8",
1,
"CLI-005",
"Ana Martínez",
"+5491188881234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.781Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"217fb3c4-ab9a-497f-a581-fe3f2f2269ff"
],
[
"01a07b9f-cd7f-772c-adc5-e05f5b20d196",
1,
"CLI-002",
"Juan Pérez",
"+5491155551234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.603Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"874b769d-0425-4d49-9e6d-a66643a910fc"
],
[
"01a07b9f-cd80-79fd-8f3a-e0ce135d68df",
1,
"CLI-003",
"María García",
"+5491166661234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.285Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"0c5c0429-c186-409a-b4c4-145c476368f9"
]
],
"columns": [
"contactId",
"attemptCount",
"identifier",
"name",
"address",
"result_code",
"result_description",
"createdAt",
"channelId",
"dialId"
],
"pagination": {
"total": 7,
"limit": 20,
"offset": 0
}
}
Devuelve los intentos de llamada registrados para los contactos de un lote.
Consulta Códigos de resultado para interpretar
En ambas respuestas, cada posición de los arrays de
data corresponde, en el mismo orden, al nombre incluido en columns.Parámetros
string
required
API key obtenida desde la interfaz de Inagent, dentro del marcador.
string
required
Identificador único del lote.
integer
Cantidad máxima de registros solicitados.
integer
Desplazamiento desde el primer registro.
Ejemplo
cURL
curl --request GET \
--url 'https://api.backend.inconcertcc.com/autocontact/api/v1/batches/e8b63614-f5db-4fd4-84ab-258b7070262e/event-history?limit=20&offset=0' \
--header 'apikey: TU_API_KEY'
{
"data": [
[
"01a07b9f-cd80-7b76-a602-256f75e1bce9",
1,
"CLI-004",
"Pedro López",
"+5491177771234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.848Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"81e9b7ca-ca02-4532-8667-d6a68ffff3a6"
],
[
"01a07b9f-cd80-7d2e-b035-08e5d70aa5d8",
1,
"CLI-005",
"Ana Martínez",
"+5491188881234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.781Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"217fb3c4-ab9a-497f-a581-fe3f2f2269ff"
],
[
"01a07b9f-cd7f-772c-adc5-e05f5b20d196",
1,
"CLI-002",
"Juan Pérez",
"+5491155551234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.603Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"874b769d-0425-4d49-9e6d-a66643a910fc"
],
[
"01a07b9f-cd80-79fd-8f3a-e0ce135d68df",
1,
"CLI-003",
"María García",
"+5491166661234",
"503",
"Service Unavailable",
"2026-09-07T11:28:22.285Z",
"55210458-1957-4023-b7cc-82bbb5124aaa",
"0c5c0429-c186-409a-b4c4-145c476368f9"
]
],
"columns": [
"contactId",
"attemptCount",
"identifier",
"name",
"address",
"result_code",
"result_description",
"createdAt",
"channelId",
"dialId"
],
"pagination": {
"total": 7,
"limit": 20,
"offset": 0
}
}
result_code y su etiqueta.
La respuesta diferencia el
contactId, generado internamente por el sistema, del identifier, definido por el cliente durante la importación. Usa el contactId para consultar el historial o reagendar un contacto concreto.Was this page helpful?

