List Call
Retrieve a list of AI-driven phone calls tailored to specific purposes and sets of actions.
curl --request GET \
--url https://svalync.com/api/voiceai/list \
--header 'x-api-key: <x-api-key>'
{
"response": [
{
"success": true,
"data": [
{
"id": "<string>",
"agentId": "<string>",
"pathways": "<string>",
"callDuration": 123,
"call_id": "<string>",
"batch_id": "<string>",
"callType": "<string>",
"userId": "<string>",
"to_phone_number": "<string>",
"from_phone_number": "<string>",
"tokens_consumed": 123,
"status": "<string>",
"transcripts": "<string>",
"summary": "<string>",
"startedAt": "<string>",
"endedAt": "<string>",
"endedBy": "<string>",
"userData": {
"var": "<string>",
"name": "<string>",
"var2": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"isTestMode": true,
"agent": {
"name": "<string>"
}
}
]
}
]
}
Authorization
Your Api Key
Response
Indicates if the request was successful.
The created agent object containing all the input fields.
Unique identifier for the created agent.
The identifier for the agent handling the call.
Pathways information if applicable.
The duration of the call in seconds.
The unique identifier for the call.
The batch ID associated with the call.
The type of call made.
The user identifier associated with the call.
The recipient phone number of the call.
The originating phone number of the call.
The number of tokens consumed during the call.
The current status of the call.
The transcript of the call conversation.
A summarized text of the call interaction.
The timestamp when the call started.
The timestamp when the call ended.
Identifier of who ended the call.
The timestamp when the call was created.
The timestamp when the call was last updated.
Indicates whether the call was in test mode.
curl --request GET \
--url https://svalync.com/api/voiceai/list \
--header 'x-api-key: <x-api-key>'
{
"response": [
{
"success": true,
"data": [
{
"id": "<string>",
"agentId": "<string>",
"pathways": "<string>",
"callDuration": 123,
"call_id": "<string>",
"batch_id": "<string>",
"callType": "<string>",
"userId": "<string>",
"to_phone_number": "<string>",
"from_phone_number": "<string>",
"tokens_consumed": 123,
"status": "<string>",
"transcripts": "<string>",
"summary": "<string>",
"startedAt": "<string>",
"endedAt": "<string>",
"endedBy": "<string>",
"userData": {
"var": "<string>",
"name": "<string>",
"var2": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"isTestMode": true,
"agent": {
"name": "<string>"
}
}
]
}
]
}