Returns contact counts grouped by status, average call duration, and total credits consumed.
cURL
curl --request GET \ --url https://api.vocobase.com/api/v2/campaigns/{id}/stats \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "queued": 240, "in_progress": 3, "completed": 1200, "failed": 55, "skipped": 2, "avg_duration_seconds": 73.4, "total_credits": 1512.75 } }
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
rg_live_xxxx
Stats returned.
Show child attributes