authorization:
Bearer: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization
route:
path: telephonyIntegration/getContact
fullPath-EXAMPLE: https://mydomain.com/telephony/callsapp/telephonyIntegration/getContact
method: POST
format: JSON
description: Search existed contact by phone number
params:
phone: string - phone what attached to the contact
response:
status: success | error
data: object | null
id: number
name: string
managerName: string | null
route:
path: telephonyIntegration/setCall
fullPath-EXAMPLE: https://mydomain.com/telephony/callsapp/telephonyIntegration/setCall
method: POST
format: JSON
description: Send completed call
params:
uuid: string - Unique id of call
queueUUID: string - Unique id for calls queue. Can be empty if this call don't contains in the queue
event: bridge | answer | hangup - type of the call event
direction: in | out - Сall direction
callerNumber: string - The number of the person who is calling
destinationNumber: string - The phone number of the person being called
time: string - Event time in UTC timezone
duration: number - Сall duration in the seconds. Exists only if event is a "hangup"
waiting: - Time of the subscriber spent waiting for response. Exists only if event is a "hangup"
didNumber: - Phone number that receives incoming calls from gateway. Parameter may be missing
recordLink: string - link for call recording. Exists only if call have duration > 0 and event is "hangup"
response:
status: success | error
route:
path: telephonyIntegration/setAnalyzedCall
fullPath-EXAMPLE: https://mydomain.com/telephony/callsapp/telephonyIntegration/setAnalyzedCall
method: POST
format: JSON
Description: Transmits analyzed call data along with a unique call ID (uuid)
params:
uuid: string - Unique id of call
content: string - Analyzed Data
response:
status: success | error
API for access to the extensions:
route:
path: https://ua.callsapp.net/plugin/common_integration_api/extensions/all
method: POST
format: JSON
params:
username: string - Username from account
password: string - Password from account
response:
status: success | error
data: array [
{
login: string
internalCallerName: string
}
]