Skip to main content

Fetch recordings

End point: /recording/fetch

FieldTypeRequiredDescription
room_idsarrayYesArray of room Ids'
fromnumberNoFrom point. Default 0
limitnumberNoLimit of records. Default 20
order_bystringNoOrdering DESC or ASC. Default: DESC

Example:

{
"room_ids": ["room01"],
"from": 0,
"limit": 20,
"order_by": "DESC"
}

Response

FieldTypePositionDescription
statusbooleanrootThe status of the request
msgstringrootResponse message
resultobject<result>root

Result

FieldTypeDescription
total_recordingsnumberTotal number of recordings for the query
fromnumberRequested from point
limitnumberRequested limit of records
order_bystringRecord order
recordings_listArray<recording_list>

Recording list

FieldTypeDescription
record_idstringRecord internal ID
room_idstringRoom Id
room_sidstringRoom Sid
file_pathstringFile path
file_sizenumberFile size
creation_timenumberRecord creation time in unix format
room_creation_timenumberRoom creation time in unix format