cURL
curl --request GET \ --url https://api.sigmamind.ai/v1/campaigns \ --header 'X-API-Key: <api-key>'
{ "data": [ { "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 } ], "page": 123, "size": 123, "totalCounts": 123, "totalPages": 123, "hasNext": true, "hasPrevious": true }
List all campaigns as a pagination
API Key is required in header. You can find it in the settings
OK
Show child attributes