Crear llamadas por lotes

Este punto final crea múltiples llamadas telefónicas por lotes para un agente de ElevenLabs.

POST /Agent/create-batch-call

Este 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

PropiedadTipoObligatorioDescripciónConstraints
batchCallNamestringNo—nullable
agentIdinteger · int32No——
fromNumberstringNo—nullable
tasksarray<AgentBatchCallTaskDto>No—nullable
scheduledTimestring · date-timeNo—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

EstadoDescripciónCuerpo de respuesta
200Llamadas por lotes creadas con éxitoNo se define ningún organismo de respuesta.

Modelos de datos

AgentBatchCallTaskDto
PropiedadTipoObligatorioDescripciónConstraints
contactNamestringNo—nullable
toNumberstringNo—nullable
dynamicVariablesobjectNo—nullable
metadataanyNo—nullable
AgentCreateBatchCallRequestDto
PropiedadTipoObligatorioDescripciónConstraints
batchCallNamestringNo—nullable
agentIdinteger · int32No——
fromNumberstringNo—nullable
tasksarray<AgentBatchCallTaskDto>No—nullable
scheduledTimestring · date-timeNo—nullable