Authorizations
API Key is required in header. You can find it in the settings
curl --request GET \
--url https://api.sigmamind.ai/v1/calls \
--header 'X-API-Key: <api-key>'
{
"data": [
{
"callId": "AuUKK371Spr5nHJS",
"callType": "inbound",
"conversationId": 123456789,
"phoneNumber": "Object",
"campaign": {
"campaignId": "XiQEBcj9cc5TFRB4",
"campaignName": "My Campaign",
"campaignStatus": "live",
"scheduledDate": "2023-11-07T05:31:56Z",
"concurrentCalls": 5,
"agent": {
"name": "New AI Agent",
"agentId": "D5D0p7TUs66TTAEAx",
"status": "active"
},
"phoneNumber": "Object",
"errors": [
"<string>"
],
"scheduled": true
},
"status": "completed",
"startTime": "2021-04-20T10:00:00.000Z",
"endTime": "2021-04-20T10:00:00.000Z",
"duration": 120,
"terminationReason": "inactive",
"createdAt": "2021-04-20T10:00:00.000Z",
"updatedAt": "2021-04-20T10:00:00.000Z",
"variables": {
"customer_name": "Michael"
}
}
],
"page": 123,
"size": 123,
"totalCounts": 123,
"totalPages": 123,
"hasNext": true,
"hasPrevious": true
}
List Phone Call records in paginated list
curl --request GET \
--url https://api.sigmamind.ai/v1/calls \
--header 'X-API-Key: <api-key>'
{
"data": [
{
"callId": "AuUKK371Spr5nHJS",
"callType": "inbound",
"conversationId": 123456789,
"phoneNumber": "Object",
"campaign": {
"campaignId": "XiQEBcj9cc5TFRB4",
"campaignName": "My Campaign",
"campaignStatus": "live",
"scheduledDate": "2023-11-07T05:31:56Z",
"concurrentCalls": 5,
"agent": {
"name": "New AI Agent",
"agentId": "D5D0p7TUs66TTAEAx",
"status": "active"
},
"phoneNumber": "Object",
"errors": [
"<string>"
],
"scheduled": true
},
"status": "completed",
"startTime": "2021-04-20T10:00:00.000Z",
"endTime": "2021-04-20T10:00:00.000Z",
"duration": 120,
"terminationReason": "inactive",
"createdAt": "2021-04-20T10:00:00.000Z",
"updatedAt": "2021-04-20T10:00:00.000Z",
"variables": {
"customer_name": "Michael"
}
}
],
"page": 123,
"size": 123,
"totalCounts": 123,
"totalPages": 123,
"hasNext": true,
"hasPrevious": true
}
API Key is required in header. You can find it in the settings