Call Report Webhook Sample Payload

ParameterExpected FormatDefinition
SourceNumber99xxxxxNumber of the caller
DestinationNumber0120xxxxVN on which the call has been triggered
DialWhomNumber928xxxxxAgent number on which call has been answered
CallDuration18Total call duration from initiation to end
coins1Credit deducted for the call ( for example-1)
StatusANSWEREnd result of call like Agent engaged, busy, abandonment, answered, cancel.
StartTimeyyyy-mm-dd  hh:mm:ssInitiation date & time of the call
EndTimeyyyy-mm-dd hh:mm:ssEnd time of the call
CallSid1672649960.960xxxxCall Unique Id ( for example-1586420216.7173x)
CallRecordingUrlhttps://callrecords.callerdesk.io/incoming/01_2023xxxxxxCall recording URL if answered
DirectionIVRType of Call Direction (For instance, if it’s an incoming call, the direction will say “IVR,” and if it’s an outgoing call, the direction will say “WEBOBD” ).
campid11387004Unique campaign id ( for example 9995 ). This will show in case of outgoing call report only
TalkDuration40Total talk duration if the call was answered
call_groupTestGroupCall Group Name of the connected call
receiver_nameAshishName of the team member who answered the phone
error_code19It will show error code incase of any error
LegA_Picked_time2023-01-02 14:32:44LegA join time i.e once LegA user picked the call.
LegB_Start_time2023-01-02 14:32:45LegB Initiation time i.e once call initiate to the LegB user.
LegB_Picked_time2023-01-02 14:32:54LegB join time i.e once LegA user picked the call.

Live Call Sample Payload

ParameterExpected FormatDefinition
SourceNumber99xxxxxNumber of the caller
DestinationNumber0120xxxxVN on which the call has been triggered
DialWhomNumber928xxxxxAgent number on which call has been answered
StatusANSWEREnd result of call, like Agent engaged, busy, abandoned, answered, cancel.
StartTimeyyyy-mm-dd  hh:mm:ssInitiation date & time of the call
CallSid1672649960.960xxxxCall Unique Id ( for example-1586420216.7173x)
DirectionIVRType of Call Direction (For instance, if it’s an incoming call, the direction will say “IVR,” and if it’s an outgoing call, the direction will say “WEBOBD” ).
campid16786xxxThis campid is particularly for outgoing click to call i.e on request of using it, we are sharing this unique campid as unique parameter as response.

Leave a Reply

Your email address will not be published. Required fields are marked *