Event type:
CampaignActivatedSent when a campaign is activated, either by a user from the Web Console or by an application through the Change campaign state endpoint. The payload contains the campaign configuration at the time of activation, and the origin of the change, such as the user who made it and the IP address.
Possible values for the enums used in the payload:
Campaign state
DraftActivePausedFinishedCanceledDialer mode
PowerPredictiveProgressiveNumber Provisioning
StaticDynamicNumber selection
FifoLifoNumber priority
RetryPendingNotContactedRunning priority
HighNormalLowCall Handling Types
CallflowAiAgentAnswer Type Detectors
DisabledStandardAmdAgentUnknown Answer Treatment Types
HumanVoicemailMessage for Voicemail Types
NeverOnFirstDetectionOnLastAttemptOnEveryAttemptCampaignActivated payload (v2)
{
"id": "01928321-9129-7f25-8ad3-80c57b16d3ed",
"object": "event",
"apiVersion": 2,
"createdAt": "2024-10-12T23:47:48.133",
"type": "CampaignActivated",
"data": {
"customer": {
"id": "0192830c-58a0-7be2-8e3d-dc8997d0a631",
"name": "SIP Caller (Demo account)"
},
"campaign": {
"id": "0192831a-fbbe-735f-b385-a3252781817d",
"name": "Campaign 1",
"phoneSystem": {
"id": "01928310-2d96-7a70-bdfc-4bcd24c22c95",
"name": "My Phone System",
"extension": {
"id": "07bcd1de-1e5d-47b5-99bf-b846c7a12f09",
"name": "SIP Caller Extension"
}
},
"dialer": {
"mode": "Power"
},
"state": "Active",
"numberProvisioning": "Static",
"numberSelection": "Fifo",
"numberPriority": "RetryPending",
"runningPriority": "Normal",
"startDate": "2024-10-12",
"endDate": null,
"timeZoneId": "America/Argentina/Buenos_Aires",
"callHandling": {
"$t": "Callflow",
"answerTypeDetector": {
"$t": "AmdAgent",
"amdAgent": {
"id": "019f8f68-f2d9-7ae9-9e8c-790ee1c1413a",
"name": "Voicemail Detector AI Agent"
},
"unknownAnswerTreatment": "Human",
"messageForVoicemail": {
"$t": "OnFirstDetection",
"callflow": {
"id": "019f8c61-daf6-762d-b23a-a0199de9cba3",
"name": "Leave voicemail"
},
"isCallRetryEnabled": true
}
},
"callflow": {
"id": "019f944f-d5ab-717e-a36f-06097fe6be3c",
"name": "Survey"
},
"ttsVoiceId": "azu-es-AR-ElenaNeural"
},
"varNames": [
"Customer Name",
"Due Balance"
],
"startedAt": null,
"endedAt": null
},
"origin": {
"user": {
"id": "0192830c-589d-7384-b157-f922afab9e55",
"name": "John Doe",
"email": "john.doe@example.com"
},
"ipAddress": "98.97.134.180"
}
}
}