Sei sulla pagina 1di 4

Call Masking

API Document
API Document

API reference Document:


Please refer the below reference API format,

1. To identify the number:

https://www.clienturl.com/example/index.php?caller={caller}&callto={callto}

caller will have 10-digit caller number


callto – Kaleyra Virtual Number(10 digit)
Response need to be as below:
1.
200|dial=DE
2.
300 = Customer
3.
400= Unknown

2. To identify customer number when DE calls

https://www.clienturl.com/example/index.php?
caller={caller}&time={calltime}&bridge={callto}&pin={keypress}

caller will have 10-digit caller number


time will have Date time in dd/mm/yyyyy hh:mm AM format

2/4

Solutions Infini Technologies (I) Pvt. contact@kaleyra.com


API Document

bridge will have virtual number to which caller called


pin will have keypress entered by caller

Response need to be as below:

1.
200|dial=99000xxxxx
2.
300(for invalid PIN) – manual retry for PIN

3.
400 = unable to connect/network issue/API resolution failed

3. To identify DE number when customer calls

https://www.clienturl.com/example/index.php?
caller={caller}&time={calltime}&bridge={callto}&pin={keypress}

caller will have 10-digit caller number


time will have Date time in dd/mm/yyyyy hh:mm AM format
bridge will have virtual number to which caller called
pin will have keypress entered by caller for multiple orders

3/4

Solutions Infini Technologies (I) Pvt. contact@kaleyra.com


API Document

Response need to be as below:

1.
200|dial=registered number
2.
300 (multiple orders) –IVR will ask customer to enter the PIN post which Kaleyra will hit client
API with number & PIN to identify the DE number.
3.
400 = unable to connect/network issue/API resolution failed

CALL BACK API

https://ClientdomainName.com/callback/?
from={caller}&duration={duration}&input={keypress}&status={stat
us1}

4/4

Solutions Infini Technologies (I) Pvt. contact@kaleyra.com

Potrebbero piacerti anche