Call Recordings for a specific User
GET {{httptype}}://{{IP}}/mot/{{miralixAccount}}/users/{{identificationType}}/{{TypeID}}/recordings?fromCallId={{CallId}}
Get a list detailing all direct calls to a specific user, that has been recorded.
HTTP GET: /users/{identificationType}/{identification}/recordings?fromCallId={callId}
Parameter | Value | Description |
---|---|---|
identificationType | sipUri, id, email, syncId | Different identification types, that can be used to identify an agent |
identification | String | The identification value must match the selected identification type. So, if identificationType is set to email, then the identification value must match an userss email |
fromCallId | {Integer} | Retrieve all information on call recordings after the specified callId (not including) |
Example
https://192.168.1.10/mot/greenbox/users/id/103/recordings - Lists recorded calls for user with id 103
https://192.168.1.10/mot/greenbox/users/id/103/recordings?fromQueueCallId=54852 - Lists recorded calls for user with id 103, after the recording with callId 54852
https://192.168.1.10/mot/greenbox/users/email/derek.a@company.local/recordings - Lists recorded calls for user with email derek.a@company.local
https://192.168.1.10/mot/greenbox/users/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/recordings - Lists recorded calls for user with syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e
Resultat
- 200 OK - A list detailing all the recorded calls for the specified user.
- 400 Bad Request - One or more parameters are not valid.
- 403 Forbidden - Missing required License to access this request.
- 404 Not Found - No user was found with the specified identification.
- 500 Internal Server Error - Internal processing error.
JSON result
For each recording, the following data is displayed:
Parameter | Value | Description |
---|---|---|
Id | {Integer} | Call ID in the database |
UserName | {String} | The name of the user |
UserId | {Integer} | Users ID in the database |
ConversationStartedUtc | {date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'} | Time of start of the call |
ConversationEndedUtc | {date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'} | Time of ending the call |
RecordingFileName | {String} | File name of the recorded call |
Caller | {String} | The normalized caller number |
Direction | Incoming, Outgoing | Direction of the call |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fromCallId | string |
RESPONSES
status: OK
[{"Id":148314,"UserName":"Claus Clausen","UserId":1,"ConversationStartedUtc":"2023-10-05T13:56:37.283Z","ConversationEndedUtc":"2023-10-05T13:56:48.983Z","RecordingFileName":"a4808014-1112-473f-8a9b-15c8a16247dc.mp3","Caller":"+4583123456","Direction":"Incoming"},{"Id":148316,"UserName":"Claus Clausen","UserId":1,"ConversationStartedUtc":"2023-10-09T07:01:41.733Z","ConversationEndedUtc":"2023-10-09T07:03:16.707Z","RecordingFileName":"768fe4e8-64b4-49ea-a984-d850032eb205.mp3","Caller":"784","Direction":"Outgoing"}]