Crear llamadas por lotes
Este punto final crea múltiples llamadas telefónicas por lotes para un agente de ElevenLabs.
POST
/Agent/create-batch-callEste punto final crea múltiples llamadas telefónicas por lotes para un agente de ElevenLabs.
Autenticación
Se requiere autenticación. Envía tu clave de API de usuario en la cabecera X-API-Key.
Parámetros
Esta operación no tiene parámetros de ruta, consulta o encabezado.
Órgano solicitante
Tipo de contenido: application/json · Schema: AgentCreateBatchCallRequestDto
| Propiedad | Tipo | Obligatorio | Descripción | Constraints |
|---|---|---|---|---|
batchCallName | string | No | — | nullable |
agentId | integer · int32 | No | — | — |
fromNumber | string | No | — | nullable |
tasks | array<AgentBatchCallTaskDto> | No | — | nullable |
scheduledTime | string · date-time | No | — | nullable |
Ejemplo de solicitud
curl --request POST \
--url 'https://api.zild.ai/Agent/create-batch-call' \
--header 'X-API-Key: YOUR_USER_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"batchCallName": "string",
"agentId": 0,
"fromNumber": "string",
"tasks": [
{
"contactName": "string",
"toNumber": "string",
"dynamicVariables": {},
"metadata": "string"
}
],
"scheduledTime": "2026-09-22T18:00:00Z"
}'
Respuestas
| Estado | Descripción | Cuerpo de respuesta |
|---|---|---|
200 | Llamadas por lotes creadas con éxito | No se define ningún organismo de respuesta. |
Modelos de datos
AgentBatchCallTaskDto
| Propiedad | Tipo | Obligatorio | Descripción | Constraints |
|---|---|---|---|---|
contactName | string | No | — | nullable |
toNumber | string | No | — | nullable |
dynamicVariables | object | No | — | nullable |
metadata | any | No | — | nullable |
AgentCreateBatchCallRequestDto
| Propiedad | Tipo | Obligatorio | Descripción | Constraints |
|---|---|---|---|---|
batchCallName | string | No | — | nullable |
agentId | integer · int32 | No | — | — |
fromNumber | string | No | — | nullable |
tasks | array<AgentBatchCallTaskDto> | No | — | nullable |
scheduledTime | string · date-time | No | — | nullable |