Call logs describe the outcome of a phone call managed by an integrated provider. Since these logs are also considered activities, they can be associated with a deal or a lead, a person and/or an organization. Call logs do differ from other activities, as they only receive the information needed to describe the phone call.
Returns all call logs assigned to a particular user.
20
/v1/callLogs
start
integer
Pagination start
Default
0
limit
integer
For pagination, the limit of entries to be returned. The upper limit is 50.
OK
Returns details of a specific call log.
2
/v1/callLogs/{id}
id
string
required
The ID received when you create the call log
OK
Adds a new call log.
10
/v1/callLogs
application/json
user_id
integer
The ID of the owner of the call log. Please note that a user without account settings access cannot create call logs for other users.
activity_id
integer
If specified, this activity will be converted into a call log, with the information provided. When this field is used, you don't need to specify deal_id
, person_id
or org_id
, as they will be ignored in favor of the values already available in the activity. The activity_id
must refer to a call
type activity.
subject
string
The name of the activity this call is attached to
duration
string
The duration of the call in seconds
outcome
string
required
Describes the outcome of the call
Values
connected
no_answer
left_message
left_voicemail
wrong_number
busy
from_phone_number
string
The number that made the call
to_phone_number
string
required
The number called
start_time
string
required
The date and time of the start of the call in UTC. Format: YYYY-MM-DD HH:MM:SS.
Format
date-time
end_time
string
required
The date and time of the end of the call in UTC. Format: YYYY-MM-DD HH:MM:SS.
Format
date-time
person_id
integer
The ID of the person this call is associated with
org_id
integer
The ID of the organization this call is associated with
deal_id
integer
The ID of the deal this call is associated with. A call log can be associated with either a deal or a lead, but not both at once.
lead_id
string
The ID of the lead in the UUID format this call is associated with. A call log can be associated with either a deal or a lead, but not both at once.
Format
uuid
note
string
The note for the call log in HTML format
OK
Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
10
/v1/callLogs/{id}/recordings
id
string
required
The ID received when you create the call log
multipart/form-data
file
string
required
Audio file supported by the HTML5 specification
Format
binary
OK
Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
6
/v1/callLogs/{id}
id
string
required
The ID received when you create the call log
OK