Call Logs and Analytics
Retrieve Call Logs
Section titled “Retrieve Call Logs”Retrieve call logs based on filters provided in query parameters. All parameters are optional.
This endpoint returns a paginated response.
GET /integrations/calls/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Access Token |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| call_id | string | No | Hashed call ID to retrieve a specific call log |
| event_id | integer | No | Event ID to filter call logs |
| job_id | string | No | Custom Metadata Field |
| transaction_id | string | No | Custom Metadata Field |
| candidate_id | string | No | Custom Metadata Field |
| candidate_number | string | No | Client phone number (E.164 format) |
| recruiter_email | string | No | Deprecated: use user_email instead |
| user_email | string | No | Email of the FreJun user |
| date | string | No | Start of date range (DD/MM/YY HH:MM:SS) |
| date_end | string | No | End of date range (DD/MM/YY HH:MM:SS) |
| page | integer | No | |
| page_size | integer | No | |
| string | No | The email of Frejun User |
Response
{ "success": true, "message": "string", "data": { "count": 0, "next": "string", "previous": "string", "results": [ { "id": 0, "transaction_id": "string", "job_id": "string", "candidate_number": "string", "creator_number": "string", "virtual_number": "string", "call_reason": "string", "call_outcome": "string", "cost": "string", "creator": "string", "candidate_id": "string", "notes": "string", "call_type": "string", "call_start_time": "string", "call_end_time": "string", "status": "string", "call_duration": 0, "candidate_name": "string", "recording_url": "string", "link": "string", "call_id": "string", "campaign_name": "string", "call_transcript": [ {} ], "tags": [ { "id": 0, "name": "string" } ], "ai_insights": {} } ] }}Retrieve Call Analytics
Section titled “Retrieve Call Analytics”Retrieve call analytics based on filters provided in query parameters.
GET /integrations/call-analytics/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Access Token |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| users | string | No | List of user emails |
| date_start | string | Yes | Start date in YYYY-MM-DD format |
| date_end | string | Yes | End date in YYYY-MM-DD format |
| string | No | The email of Frejun User |
Response
{ "success": true, "message": "string", "data": [ { "user": "email", "total_calls": 0, "answered_calls": 0, "total_minutes": "string" } ]}