v1

latestOpenAPI 3.0.12026-08-0621301.7 MB
CallLogs

Add a call log

Adds a new call log.

post/callLogs

Request body

user_idinteger

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_idinteger

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.

subjectstring

The name of the activity this call is attached to

durationstring

The duration of the call in seconds

outcome'connected' | 'no_answer' | 'left_message' | 'left_voicemail' | 'wrong_number' | 'busy' required

Describes the outcome of the call

from_phone_numberstring

The number that made the call

to_phone_numberstring required

The number called

start_timestring date-time required

The date and time of the start of the call in UTC. Format: YYYY-MM-DD HH:MM:SS.

end_timestring date-time required

The date and time of the end of the call in UTC. Format: YYYY-MM-DD HH:MM:SS.

person_idinteger

The ID of the person this call is associated with

org_idinteger

The ID of the organization this call is associated with

deal_idinteger

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_idstring uuid

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.

notestring

The note for the call log in HTML format

Response

The call log was successfully created.

successboolean

If the response is successful or not