List recordings
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.pagination
integer
required
The pagination of paging.pagesize
integer
optional
The pagesize of paging.sort_by
enum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.timestamp
string
optional
The earliest timestamp to filter recordings. Date-time string in ISO 8601 format (e.g. 2017-01-01T00:00:00.00Z).
Sample Request
https://example.com/api/recordfiles/extension/list?access_token=196ACE20C6F34027895F7F95402BB164&pagesize=100&pagination=1&sort_by=DEFAULT×tamp=10
Response
pagination
integer
required
The pagination of paging.pagesize
integer
optional
The pagesize of paging.sort_by
enum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.page_count
integer
required
The total count of pages.count
integer
required
Current pagesize.recordings
array
required
Show child attributesFailure code in case the call failed.
Sample Response
{
"pagination": 1,
"pagesize": 100,
"sort_by": "DEFAULT",
"page_count": 100,
"count": 100,
"records": [
{
"call_id": "101ffertwyy4",
"caller": "caller",
"callee": "callee",
"filename": "example.wav",
"filepath": "abc123.com",
"start_time": "2017-01-01T00:00:00.00Z",
"end_time": "2017-01-01T00:00:00.00Z",
"duration": 100,
"status": "READED"
}
]
}
search recordings
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.pagination
integer
required
The pagination of paging.pagesize
integer
optional
The pagesize of paging.sort_by
enum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.timestamp
string
optional
The earliest timestamp to filter recordings. Date-time string in ISO 8601 format (e.g. 2017-01-01T00:00:00.00Z).condition
string
required
Sample Request
https://example.com/api/recordfiles/extension/search?access_token=196ACE20C6F34027895F7F95402BB164&condition=100&pagesize=100&pagination=1&sort_by=DEFAULT×tamp=10
Response
pagination
integer
required
The pagination of paging.pagesize
integer
optional
The pagesize of paging.sort_by
enum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.page_count
integer
required
The total count of pages.count
integer
required
Current pagesize.records
array
required
Show child attributesFailure code in case the call failed.
Sample Response
{
"pagination": 1,
"pagesize": 100,
"sort_by": "DEFAULT",
"page_count": 100,
"count": 100,
"recordings": [
{
"call_id": "101ffertwyy4",
"caller": "caller",
"callee": "callee",
"filename": "example.wav",
"filepath": "abc123.com",
"start_time": "2017-01-01T00:00:00.00Z",
"end_time": "2017-01-01T00:00:00.00Z",
"duration": 100,
"status": "READED"
}
]
}
List conference recordings
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.pagination
integer
required
The pagination of paging.pagesize
integer
optional
The pagesize of paging.sort_by
enum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.room_number
string
required
"Conference room extension number."
Sample Request
https://example.com/api/recordfiles/conference/list?access_token=196ACE20C6F34027895F7F95402BB164&pagesize=100&pagination=1&room_number=1000&sort_by=DEFAULT
Response
pagination
integer
required
The pagination of paging.pagesize
integer
optional
The pagesize of paging.sort_by
enum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.page_count
integer
required
The total count of pages.count
integer
required
Current pagesize.records
array
required
Show child attributesFailure code in case the call failed.
Sample Response
{
"pagination": 1,
"pagesize": 100,
"sort_by": "DEFAULT",
"page_count": 100,
"count": 100,
"records": [
{
"filename": "example.wav",
"filepath": "abc123.com",
"start_time": "2017-01-01T00:00:00.00Z",
"end_time": "2017-01-01T00:00:00.00Z",
"duration": 100,
"status": "READED"
}
]
}
List voicemail recordings
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.pagination
integer
required
The pagination of paging.pagesize
integer
optional
The pagesize of paging.sort_by
enum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.
Sample Request
https://example.com/api/recordfiles/voicemail/list?access_token=196ACE20C6F34027895F7F95402BB164&pagesize=100&pagination=1&sort_by=DEFAULT
Response
pagination
integer
required
The pagination of paging.pagesize
integer
optional
The pagesize of paging.sort_by
enum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.page_count
integer
required
The total count of pages.count
integer
required
Current pagesize.voicemails
array
required
Show child attributesFailure code in case the call failed.
Sample Response
{
"pagination": 1,
"pagesize": 100,
"sort_by": "DEFAULT",
"page_count": 100,
"count": 100,
"records": [
{
"id": "111",
"caller": "100",
"callee": "101",
"time": "2017-01-01T00:00:00.00Z",
"path": "/xxx/xxx/a.wav",
"status": "READED"
}
]
}
Delete certain extension recording
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.call_id
string
required
The call ID.
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"call_id": "0zYQIQrQEz9TeFMf0inZfA.."
}
Response
Sample Response
Delete certain conference recording
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.room_number
string
required
The conference room extension number.filename
string
required
The conference recording filename.
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"room_number": "0001",
"filename": "1312312323.wav"
}
Response
Sample Response
Delete certain voicemail recording
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.id
string
required
Placeholders
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"id": "0001"
}
Response
Sample Response
Update extension recording status
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.call_id
string
required
ID of call.
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"call_id": "101ffertwyy4"
}
Response
Sample Response
Update conference room recording status
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.room_number
string
required
Conference room extension number.filename
string
required
Recording filename.
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"room_number": 1000,
"filename": "101ffertwyy4"
}
Response
Sample Response
Update voicemail recording status
Request
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.id
string
required
Placeholders
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"id": "1000"
}