Call log editor

The app is displayed as an icon in the toolbar of the call log editor. Clicking the icon opens the app. A call log editor app typically adds functionality to the editor.

image

Example manifest

"location": {
  "sell": {
    "call_log_editor": "assets/iframe.html"
  }
},

The following object is available in this location:

Call object

call

Retrieves the call object with some of its properties.

get
client.get('call')
returns
{
  "call": {
    "id": 1,
    "resourceType": "contact",
    "resourceId": 7,
    "summary": "Schedule another call.",
    "userId": 1,
    "recordingUrl": "https://api.twilio.com/TloHrdvhfjj",
    "outcomeId": 8,
    "duration": 9,
    "phoneNumber": "+44-228-1234567",
    "incoming": true,
    "missed": false,
    "associatedDealIds": [2],
    "madeAt": "2016-10-02T11:08:56Z",
    "updatedAt": "2016-10-03T16:32:56Z",
    "externalId": "a9346775e-5g224-277-9300-r662a2431834"
  }
}

Properties

call.id

The unique identifier of the call.

get
client.get('call.id')
returns
{
  "call.id": 1
}
call.resourceType

Type of an entity the call is attached to. Possible values: "lead", "contact"

get
client.get('call.resourceType')
returns
{
  "call.resourceType": "contact"
}
call.resourceId

The unique identifier of an entity the call is attached to.

get
client.get('call.resourceId')
returns
{
  "call.resourceId": 7
}
call.summary

Content of the note about this call.

get
client.get('call.summary')
returns
{
  "call.summary": "Schedule another call."
}
call.userId

The unique identifier of the user who performed the call.

get
client.get('call.userId')
returns
{
  "call.userId": 1
}
call.recordingUrl

URL pointing to call recording.

get
client.get('call.recordingUrl')
returns
{
  "call.recordingUrl": "https://api.twilio.com/TloHrdvhfjj"
}
call.outcomeId

Unique identifier of Call Outcome assigned to the call.

get
client.get('call.outcomeId')
returns
{
  "call.outcomeId": 8
}
call.duration

Duration of the call in seconds.

get
client.get('call.duration')
returns
{
  "call.duration": 9
}
call.phoneNumber

Phone number of the person with which the call was made.

get
client.get('call.phoneNumber')
returns
{
  "call.phoneNumber": "+44-228-1234567"
}
call.incoming

Indicator of whether the call was incoming or not.

get
client.get('call.incoming')
returns
{
  "call.incoming": true
}
call.missed

Indicator of whether the call was missed (not answered) by the user or not.

get
client.get('call.missed')
returns
{
  "call.missed": false
}
call.associatedDealIds

An array of ids of deals associated to the call.

get
client.get('call.associatedDealIds')
returns
{
  "call.associatedDealIds": [2]
}
call.madeAt

Date and time of when the call was made (started) in UTC (ISO8601 format).

get
client.get('call.madeAt')
returns
{
  "call.madeAt": "2016-10-02T11:08:56Z"
}
call.updatedAt

Date and time of the last update in UTC (ISO8601 format).

get
client.get('call.updatedAt')
returns
{
  "call.updatedAt": "2016-10-03T16:32:56Z"
}
call.externalId

Unique identifier of a call from an external system.

get
client.get('call.externalId')
returns
{
  "call.externalId": "a9346775e-5g224-277-9300-r662a2431834"
}