Methods
Objects
Media recordings
Method | Description |
---|---|
media/recording.create_from_realtime_record | Creates a Media recording object from a recording previously created u... |
media/recording.delete | Delete recordings |
media/recording.delete_all | Delete recordings by type |
media/recording.get | Get a recording |
media/recording.get_list | Get recordings |
media/recording.get_live | Get recordings currently recording |
media/recording.get_read_status | Get read status by type |
media/recording.mark_all_as_read | Mark all recordings as read |
media/recording.mark_all_as_unread | Mark all recordings as unread |
media/recording.mark_as_read | Mark recordings as read |
media/recording.mark_as_unread | Mark recordings as unread |
media/recording.overview | Get an overview of your recordings |
media/recording.search | Search through your Media recordings. |
media/recording.create_from_realtime_record
Creates a Media recording object from a recording previously created using the REAL-TIME command "record". Warning: Temporary recording files are kept only for 30 minutes after the call ended.
method: media/recording.create_from_realtime_record
params: [string media_file, object options]
Parameter | Type | Description | NULL |
---|---|---|---|
media_file | string | Recording file (see the REAL-TIME "record" command). | NO |
options | object |
Media.Recording Options. Send NULL to use default values. Object: Media.Recording.Options |
YES |
Type | Description | Format/Object |
---|---|---|
object | Recording | Object: Media.Recording |
media/recording.delete
Delete recordings
method: media/recording.delete
params: [array hash_list]
Parameter | Type | Description | NULL |
---|---|---|---|
hash_list | array |
Recording IDs Format: hash (Unique object identifier) |
NO |
Type | Description | Format/Object |
---|---|---|
object | Action result | Object: Media.Recording.ActionResult |
media/recording.delete_all
Delete recordings by type
method: media/recording.delete_all
params: [string type]
Parameter | Type | Description | NULL |
---|---|---|---|
type | string |
Recording type Values: "CALL", "RECORDING", "VOICEMAIL" |
NO |
Type | Description | Format/Object |
---|---|---|
object | Action result | Object: Media.Recording.ActionResult |
media/recording.get
Get a recording
method: media/recording.get
params: [string recording_hash]
Parameter | Type | Description | NULL |
---|---|---|---|
recording_hash | string | Recording ID | NO |
Type | Description | Format/Object |
---|---|---|
object | Recording | Object: Media.Recording |
media/recording.get_list
Get recordings
method: media/recording.get_list
params: [string type, bool read, int offset, int quantity]
Parameter | Type | Description | NULL |
---|---|---|---|
type | string |
Recording type Values: "CALL", "RECORDING", "VOICEMAIL" |
NO |
read | bool | Read status (send NULL to ignore) | NO |
offset | int | List index (zero-based). | NO |
quantity | int | Max quantity returned. | NO |
Type | Description | Format/Object |
---|---|---|
object | Recordings results | Object: Media.Recording.ListResult |
media/recording.get_live
Get recordings currently recording
method: media/recording.get_live
params: [string type, int offset, int quantity]
Parameter | Type | Description | NULL |
---|---|---|---|
type | string |
Recording type Values: "CALL", "RECORDING", "VOICEMAIL" |
NO |
offset | int | List index (zero-based). | NO |
quantity | int | Max quantity returned. | NO |
Type | Description | Format/Object |
---|---|---|
object | Live recordings results | Object: Media.Recording.ListResult |
media/recording.get_read_status
Get read status by type
method: media/recording.get_read_status
params: []
No parameters.
Type | Description | Format/Object |
---|---|---|
object | Read status by type | Object: Media.Recording.ReadStatus |
media/recording.mark_all_as_read
Mark all recordings as read
method: media/recording.mark_all_as_read
params: [string type]
Parameter | Type | Description | NULL |
---|---|---|---|
type | string |
Recording type Values: "CALL", "RECORDING", "VOICEMAIL" |
NO |
Type | Description | Format/Object |
---|---|---|
object | Action result | Object: Media.Recording.ActionResult |
media/recording.mark_all_as_unread
Mark all recordings as unread
method: media/recording.mark_all_as_unread
params: [string type]
Parameter | Type | Description | NULL |
---|---|---|---|
type | string |
Recording type Values: "CALL", "RECORDING", "VOICEMAIL" |
NO |
Type | Description | Format/Object |
---|---|---|
object | Action result | Object: Media.Recording.ActionResult |
media/recording.mark_as_read
Mark recordings as read
method: media/recording.mark_as_read
params: [array hash_list]
Parameter | Type | Description | NULL |
---|---|---|---|
hash_list | array |
Recording IDs Format: hash (Unique object identifier) |
NO |
Type | Description | Format/Object |
---|---|---|
object | Action result | Object: Media.Recording.ActionResult |
media/recording.mark_as_unread
Mark recordings as unread
method: media/recording.mark_as_unread
params: [array hash_list]
Parameter | Type | Description | NULL |
---|---|---|---|
hash_list | array |
Recording IDs Format: hash (Unique object identifier) |
NO |
Type | Description | Format/Object |
---|---|---|
object | Action result | Object: Media.Recording.ActionResult |
media/recording.overview
Get an overview of your recordings
method: media/recording.overview
params: []
No parameters.
Type | Description | Format/Object |
---|---|---|
object | Overview | Object: Media.Recording.Overview |
media/recording.search
Search through your Media recordings.
method: media/recording.search
params: [object filters, object options]
Parameter | Type | Description | NULL |
---|---|---|---|
filters | object |
Search filters Object: Media.Recording.SearchFilters |
NO |
options | object |
Search options Object: Search.Options |
NO |
Type | Description | Format/Object |
---|---|---|
object | Search results | Object: Search.Results |