Attended refer
Attend refer a call session by it's session ID.
Authorizations
Path parameters
idall ofRequired
The unique ID of session.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Body
extension_numberall ofRequired
The extension number to attend refer the session.
string · min: 3 · max: 64OptionalPattern:
The extension number.
[0-9]{3,64}
refer_to_1stringRequired
The refer target, usually a number.
session_1all ofOptional
The unique ID of the session specified by refer_to_1
, this session ID is not mandatory.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
refer_to_2stringRequired
The refer target, usually a number.
session_2all ofOptional
The unique ID of the session specified by refer_to_2
, this session ID is not mandatory.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
Ok
4XX
Error
post
POST /api/sessions/{id}/attended_refer HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 145
{
"extension_number": "text",
"refer_to_1": "text",
"session_1": "NzAwNTUxOTA5NzczMTQ4MTYw",
"refer_to_2": "text",
"session_2": "NzAwNTUxOTA5NzczMTQ4MTYw"
}
No content