Skip to main content

Call

Call object is to represent a physical call object made or received by a user. Depending on your telephony integration a call object might be generated by telephony plugins like Twilio and Ameyo

At the core of it a call is defined by the following fields

fields

namedata typetype infodescription
idstringuuidid of the call - auto generated
userstringuuidid of the call who was handling the call on Chakra
teamstringuuidid of the team to which this call belongs to
tostringTo phone number for the call
fromstringFrom phone number for the call
providerstringCall provider type
providerCallIdstringCall provider generated id
providerPayloadnumberRaw object around the call as provided by the provider
callStartnumberepoch_msepoch timestamp of when the call started
callEndnumberepoch_msepoch timestamp of when the call ended
callDurationnumberDuration in seconds for the call
connectionStartnumberepoch_msepoch timestamp of when the connection started
connectionEndnumberepoch_msepoch timestamp of when the connection ended
connectionDurationnumberDuration in seconds for the connection
disposedAtnumberepoch_msepoch timestamp of when the call was disposed
typestringOUTBOUND / INBOUND
callStatusstringCall Status, can be one of: UNKNOWN LOGGED QUEUED RINGING IN_PROGRESS COMPLETED ANSWERED BUSY FAILED UNANSWERED REJECTED MISSED WRONG_NUM DISCONNECTED_NOT_DISPOSED DISPOSED_NOT_DISCONNECTED
recordingUrlstringRecording url of the call if available
forTaskstringid for the associated task
forRecordstringid for the associated record
forProcessstringid for the associated process
forUserstringid for the associated user
forStateTaskstringid for the associated statetask
forEntitystringid fpr the associated entity
forProcedurestringid for the associated procedure
callInitiateLocationstringsource of the initiated call
createdAtnumberepoch_mstimestamp of when the call was created
updatedAtnumberepoch_mstimestamp of when the call was updated
isDeletedbooleanIndicates wether the call is deleted