Skip to content

Call Logs and Analytics

Retrieve call logs based on filters provided in query parameters. All parameters are optional.

This endpoint returns a paginated response.

GET /integrations/calls/

Headers

NameValue
AuthorizationBearer Access Token

Query Parameters

NameTypeRequiredDescription
call_idstringNoHashed call ID to retrieve a specific call log
event_idintegerNoEvent ID to filter call logs
job_idstringNoCustom Metadata Field
transaction_idstringNoCustom Metadata Field
candidate_idstringNoCustom Metadata Field
candidate_numberstringNoClient phone number (E.164 format)
recruiter_emailstringNoDeprecated: use user_email instead
user_emailstringNoEmail of the FreJun user
datestringNoStart of date range (DD/MM/YY HH:MM:SS)
date_endstringNoEnd of date range (DD/MM/YY HH:MM:SS)
pageintegerNo
page_sizeintegerNo
emailstringNoThe 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 based on filters provided in query parameters.

GET /integrations/call-analytics/

Headers

NameValue
AuthorizationBearer Access Token

Query Parameters

NameTypeRequiredDescription
usersstringNoList of user emails
date_startstringYesStart date in YYYY-MM-DD format
date_endstringYesEnd date in YYYY-MM-DD format
emailstringNoThe email of Frejun User

Response

{
"success": true,
"message": "string",
"data": [
{
"user": "email",
"total_calls": 0,
"answered_calls": 0,
"total_minutes": "string"
}
]
}