Skip to main content
Version: v2

Call Attributes

Call attributes are metadata associated with calls in your FreJun account. They can be used to store additional information about calls, such as the purpose of the call, the department handling it, or any other relevant details.

Adding Call Attributes to a call

PATCH/integrations/update-call-log/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Query Parameters

NameTypeRequiredDescription
candidate_numberstringNoThe phone number of the candidate/contact
emailstringYesThe email of Frejun User

Payload

call_id
integer

ID of the call to update (call_id or candidate_number is required)

name
string

New name for the contact

call_reason
string

Reason for the call

call_outcome
string

Outcome of the call

notes
string

Additional notes

candidate_id
string

Candidate reference ID

transaction_id
string

Transaction ID

job_id
string

Job ID

tag_ids
Array of integers

List of tag IDs to associate (check retrieving call attributes API

Response

{
"success": true,
"message": "Successfully updated the call log",
"data": {
"id": 12345,
"call_id": "CALL123",
"creator": "example@company.com",
"start": "2024-07-22T10:00:00Z",
"end": "2024-07-22T10:30:00Z",
"duration": 1800,
"call_status": "completed",
"call_type": "outbound",
"recording_url": "<url to recording>",
"sharable_url": "<url to the page containing call data (referred as link in calls/ api)>",
"candidate_details": {
"name": "John Doe",
"phone_number": "+911234567890"
},
"call_reason": "Interview",
"call_outcome": "Selected",
"tags": [
{
"id": 1,
"name": "Tech"
},
{
"id": 2,
"name": "Urgent"
}
],
"notes": "Candidate performed well.",
"insights": {
"summary": "Good communication skills."
},
"virtual_number": {
"id": 10,
"name": "Recruitment VN",
"country_code": "+91",
"number": "9876543210",
"location": "IN",
"type": "mobile",
"default_calling_number": true,
"default_sms_number": false
},
"job_id": "JOB123",
"transaction_id": "TRN123",
"reference_id": "REF123"
}
}