0 - Pending: Call has been queued but not yet attempted1 - Sent: Call attempt has been initiated2 - Answer: Call was successfully answered by recipient ✅ (SUCCESS)3 - Busy: Recipient line was busy4 - No Answer: Call rang but was not answered5 - Cancel: Call was cancelled before completion6 - Congestion: Network congestion prevented call completion7 - CHANUNAVAIL: Channel unavailable for the call8 - DONTCALL: Recipient is on do-not-call list9 - TORTURE: Call was rejected due to system protection10 - INVALIDARGS: Invalid arguments provided for the call11 - Unknown: Status could not be determinedcurl --location --request POST '/webhooks/t2' \
--header 'Content-Type: application/json' \
--data-raw '{
"Transactions": [
{
"Voice": {
"Id": "550e8400-e29b-41d4-a716-446655440000",
"UserId": "660e8400-e29b-41d4-a716-446655440001",
"Username": "vrtx_user",
"IvrId": "770e8400-e29b-41d4-a716-446655440002",
"CreatedDate": "2025-11-20T10:30:00Z",
"Priority": 1,
"RecipientCount": 1,
"ReferenceId": "REF123456",
"Sender": "966500000000",
"Data": "IVR campaign data",
"EstimatedTotalCost": 0.5,
"EstimatedCostPerRecipient": 0.5
},
"Recipients": [
{
"Id": "880e8400-e29b-41d4-a716-446655440003",
"VoiceId": "550e8400-e29b-41d4-a716-446655440000",
"EstimatedCost": 0.5,
"Data": "Customer data",
"Recipient": "966501234567",
"ReferenceId": "REF123456",
"Dtmf": "1",
"Status": 2
}
]
}
],
"Dlrs": [
{
"RecipientId": "880e8400-e29b-41d4-a716-446655440003",
"ReferenceId": "REF123456",
"Priority": 1,
"Duration": 45,
"Dtmf": "1",
"Cost": 0.5,
"Status": 2,
"StatusDate": "2025-11-20T10:31:00Z"
}
]
}'{
"user_id": "string",
"is_success": true,
"t2_status": "string"
}