API Call https-Posts

The API for Call https-Post is used to transfer call information to customer systems in real time. The call data (caller, dialed number, date, time and, if applicable, DTMF input) are transferred via the TENIOS API at the beginning or at the end of the connection and optionally via https post after each call block. With https-Post Requests you can connect external systems, for example, to integrate call counting or reporting on another system. The caller number or customer/ticket number can also be used to carry out call-to-action or screenpop functions in CRM/ERP. This means that the employee has on-screen information such as customer data, ticket details or call-relevant information before the call is accepted.

The settings for the https mail are made for each phone number in routing. More details can be found here.

 

Structure of the post-requests:

Post on call start:

{
  "requestType":"CALL_START",
  "customerNumber":200000,
  "accessKey":"XXXXX-XXXX-XXXXXX",
  "variables":{"destination_number":"+4922165048",
               "answered_time":"0",
               "caller_id_number":"+491768245"}
}

Post after each block

{ 
   "requestType":"BLOCK_END",
   "customerNumber":200000,
   "accessKey":"XXXXX-XXXX-XXXXXX",
   "variables":{ "destination_number":"+492216504",
                 "call_uuid":"cc1f-11e5-bd09-31116009d4dc",
                 "caller_id_number":"+4917682457"},
  "blockType":"ANNOUNCEMENT"
}

Post on call end

{
   "requestType":"CALL_END",
   "customerNumber":20000,
   "accessKey":"XXXXX-XXXX-XXXXXX",
   "variables":{"collected_kundennr":"12345",
                "destination_number":"+492216504",
                "call_uuid":"cc1f-11e5-bd09-31116009d4dc",
                "caller_id_number":"+4917682457999"}
}

Post on intiate call forward

{
  "requestType":"INITIATE_FORWARD",
  "customerNumber":200000,
  "accessKey":"XXXXX-XXXXX-XXXX",
  "variables":{"destination_number":"+493200909",
               "answered_time":"0",
               "caller_id_number":"+4922155400"},
  "destination":"+492212345678",
  "destinationType":"EXTERNALNUMBER"
}

Post on answering call forward

{
  "requestType":"FORWARD_ANSWER",
  "customerNumber":200000,
  "accessKey":"XXXXX-XXXXX-XXXX",
  "variables":{"destination_number":"+4932009090",
               "answered_time":"0",
               "caller_id_number":"+4922155400"},
  "destination":"+492212345678",
  "destinationType":"EXTERNALNUMBER"
}

TOP