List recordings
Request
access_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.paginationinteger
required
The pagination of paging.pagesizeinteger
optional
The pagesize of paging.sort_byenum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.timestampstring
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
paginationinteger
required
The pagination of paging.pagesizeinteger
optional
The pagesize of paging.sort_byenum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.page_countinteger
required
The total count of pages.countinteger
required
Current pagesize.recordingsarray
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_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.paginationinteger
required
The pagination of paging.pagesizeinteger
optional
The pagesize of paging.sort_byenum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.timestampstring
optional
The earliest timestamp to filter recordings. Date-time string in ISO 8601 format (e.g. 2017-01-01T00:00:00.00Z).conditionstring
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
paginationinteger
required
The pagination of paging.pagesizeinteger
optional
The pagesize of paging.sort_byenum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.page_countinteger
required
The total count of pages.countinteger
required
Current pagesize.recordsarray
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_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.paginationinteger
required
The pagination of paging.pagesizeinteger
optional
The pagesize of paging.sort_byenum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.room_numberstring
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
paginationinteger
required
The pagination of paging.pagesizeinteger
optional
The pagesize of paging.sort_byenum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.page_countinteger
required
The total count of pages.countinteger
required
Current pagesize.recordsarray
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_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.paginationinteger
required
The pagination of paging.pagesizeinteger
optional
The pagesize of paging.sort_byenum
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
paginationinteger
required
The pagination of paging.pagesizeinteger
optional
The pagesize of paging.sort_byenum
optional
Values include "DEFAULT" and "Optional". Default value will be used when user has not specified value for this field.page_countinteger
required
The total count of pages.countinteger
required
Current pagesize.voicemailsarray
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_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.call_idstring
required
The call ID.
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"call_id": "0zYQIQrQEz9TeFMf0inZfA.."
}
Response
Sample Response
Delete certain conference recording
Request
access_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.room_numberstring
required
The conference room extension number.filenamestring
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_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.idstring
required
Placeholders
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"id": "0001"
}
Response
Sample Response
Update extension recording status
Request
access_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.call_idstring
required
ID of call.
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"call_id": "101ffertwyy4"
}
Response
Sample Response
Update conference room recording status
Request
access_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.room_numberstring
required
Conference room extension number.filenamestring
required
Recording filename.
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"room_number": 1000,
"filename": "101ffertwyy4"
}
Response
Sample Response
Update voicemail recording status
Request
access_tokenstring
required
Access token is a 32-byte string with validity of 30 seconds.idstring
required
Placeholders
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"id": "1000"
}