curl --request POST \
--url https://api.example.com/api/v1/voice/conference/create \
--header 'Content-Type: application/json' \
--data '
{
"parties": [
{}
],
"contract_type": "<string>",
"expected_duration": 123
}
'{
"conference_id": "<string>",
"recording_url": "<string>",
"status": "<string>",
"webhook_url": "<string>",
"parties": [
{}
]
}Initialize a multi-party voice conference call to record verbal contract agreements
curl --request POST \
--url https://api.example.com/api/v1/voice/conference/create \
--header 'Content-Type: application/json' \
--data '
{
"parties": [
{}
],
"contract_type": "<string>",
"expected_duration": 123
}
'{
"conference_id": "<string>",
"recording_url": "<string>",
"status": "<string>",
"webhook_url": "<string>",
"parties": [
{}
]
}["+254712345678", "+254787654321"]agricultural_supplyservice_agreementloan_agreementactive, completed, or failedcurl -X POST https://api.voicepact.com/api/v1/voice/conference/create \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"parties": ["+254712345678", "+254787654321"],
"contract_type": "agricultural_supply",
"expected_duration": 600
}'
{
"conference_id": "ATVoice_a1b2c3d4e5f6",
"recording_url": null,
"status": "active",
"webhook_url": "/api/v1/voice/webhook",
"parties": ["+254712345678", "+254787654321"]
}
{
"detail": "Failed to create voice conference: Unable to connect to voice service"
}
/recordings/{conference_id} endpoint