History module
Endpoints
Endpoints for managing Call Details Reports, Call Recordings, Chats and Voicemessages
GET
/chats Returns collection of Chat resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/chats HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 2320, "created_at": "2023-08-28 13:04:21", "customer_id": 4534, "duration": 988, "operator_id": 6304, "operator_ua": "value", "state": 3, "visitor_city": "value", "visitor_country": "value", "visitor_email": "value", "visitor_geo": "value", "visitor_id": "value", "visitor_ip": "value", "visitor_name": "value", "visitor_referer": "value", "visitor_ua": "value", "website_id": 9814 } ], "total": 59 }
GET
/chats/{id} Returns Chat resource for given Id
Parameters
Endpoint URL:
{id} integerChat identifier
Example Request
GET /v1.1/voipstudio/chats/66 HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 2502, "created_at": "2016-10-05 15:45:44", "customer_id": 1957, "duration": 6146, "operator_id": 7578, "operator_ua": "value", "state": 3, "visitor_city": "value", "visitor_country": "value", "visitor_email": "value", "visitor_geo": "value", "visitor_id": "value", "visitor_ip": "value", "visitor_name": "value", "visitor_referer": "value", "visitor_ua": "value", "website_id": 4065 }, "links": {} }
DELETE
/chatmsgs/{ids} Deletes given chat message resources
Parameters
Endpoint URL:
{ids} comma separated list of integersResource identifiers
Example Request
DELETE /v1.1/voipstudio/chatmsgs/51,151,433 HTTP/1.1 Host: l7api.com
Responses
204 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 204 OK
DELETE
/chatmsgs Deletes collection of ChatMsg resources
Parameters
No parameters
Example Request
DELETE /v1.1/voipstudio/chatmsgs HTTP/1.1 Host: l7api.com
Responses
204 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 204 OK
GET
/cdrs Returns collection of Cdr resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/cdrs HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 37, "billsec": 6043, "call_id": 6785, "calldate": "2017-08-15 11:35:50", "charge": 4.13, "clid": "value", "context": "value", "destination": 2, "disposition": 1, "dst": "44203844711", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 2547, "info": "value", "live_id": 6324, "parent_live_id": 4630, "rate": 5.14, "server_id": 6746, "sip_endpoint_id": 4134, "src": "44203844711", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 1, "user_id": 2138 } ], "total": 59 }
PATCH
/cdrs [BULK] Updates existing Cdr resources
Parameters
Example Request
PATCH /v1.1/voipstudio/cdrs HTTP/1.1 Host: l7api.com [ [], { "id": 8184 } ]
Responses
200 Success
400 Validation error
401 Unauthorized
403 Access denied
404 Resource not found
400 Validation error
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 848, "billsec": 314, "call_id": 9152, "calldate": "2022-05-26 00:38:41", "charge": 8.11, "clid": "value", "context": "value", "destination": 2, "disposition": 3, "dst": "44779243705", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 9232, "info": "value", "live_id": 4825, "parent_live_id": 6966, "rate": 4.11, "server_id": 8412, "sip_endpoint_id": 2606, "src": "44203846719", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 0, "user_id": 7130 }, "links": {} }
DELETE
/cdrs Deletes collection of Cdr resources
Parameters
No parameters
Example Request
DELETE /v1.1/voipstudio/cdrs HTTP/1.1 Host: l7api.com
Responses
204 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 204 OK
GET
/cdrs/{id}.trace Returns Cdr resource as SIP Trace for given Id
Parameters
Endpoint URL:
{id} integerCdr identifier
Example Request
GET /v1.1/voipstudio/cdrs/9.trace HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 2410, "billsec": 8100, "call_id": 2281, "calldate": "2020-09-17 19:11:56", "charge": 7.13, "clid": "value", "context": "value", "destination": 0, "disposition": 1, "dst": "44203844711", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 7428, "info": "value", "live_id": 739, "parent_live_id": 8732, "rate": 4.17, "server_id": 7375, "sip_endpoint_id": 3068, "src": "44779243705", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 2, "user_id": 4304 }, "links": {} }
GET
/cdrs/{id}.pcap Returns Cdr resource as PCAP file for given Id
Parameters
Endpoint URL:
{id} integerCdr identifier
Example Request
GET /v1.1/voipstudio/cdrs/40.pcap HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 7188, "billsec": 4180, "call_id": 590, "calldate": "2017-09-04 01:19:56", "charge": 3.5, "clid": "value", "context": "value", "destination": 0, "disposition": 0, "dst": "44779243705", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 4122, "info": "value", "live_id": 4471, "parent_live_id": 5019, "rate": 6.5, "server_id": 4346, "sip_endpoint_id": 7987, "src": "44203846719", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 1, "user_id": 1900 }, "links": {} }
GET
/cdrs/calltracking Returns collection of Call Tracking Cdr resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/cdrs/calltracking HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 1806, "billsec": 5224, "call_id": 9082, "calldate": "2021-03-19 06:31:48", "charge": 8.2, "clid": "value", "context": "value", "destination": 1, "disposition": 3, "dst": "13103345244", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 6709, "info": "value", "live_id": 5457, "parent_live_id": 5681, "rate": 4.14, "server_id": 6892, "sip_endpoint_id": 1634, "src": "32179243705", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 2, "user_id": 1937 } ], "total": 59 }
GET
/cdrs/{id} Returns Cdr resource for given Id
Parameters
Endpoint URL:
{id} integerCdr identifier
Example Request
GET /v1.1/voipstudio/cdrs/70 HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 9937, "billsec": 9388, "call_id": 9001, "calldate": "2018-05-10 07:19:34", "charge": 7.13, "clid": "value", "context": "value", "destination": 2, "disposition": 2, "dst": "32179243705", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 3264, "info": "value", "live_id": 2596, "parent_live_id": 4678, "rate": 5.13, "server_id": 7084, "sip_endpoint_id": 5255, "src": "44779243705", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 1, "user_id": 3594 }, "links": {} }
GET
/cdrs/dictionaries Returns Dictionary for Cdr resource
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/cdrs/dictionaries HTTP/1.1 Host: l7api.com
Responses
200 Unknown
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 884, "billsec": 4042, "call_id": 9352, "calldate": "2022-12-25 22:04:52", "charge": 8.33, "clid": "value", "context": "value", "destination": 1, "disposition": 0, "dst": "44203846719", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 9123, "info": "value", "live_id": 7185, "parent_live_id": 9387, "rate": 8.1, "server_id": 998, "sip_endpoint_id": 6320, "src": "32179243705", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 3, "user_id": 9494 } ], "total": 59 }
GET
/cdrs/{id}/notes Returns Notes for give CDR resource
Parameters
Endpoint URL:
{id} integerCdr identifier
Example Request
GET /v1.1/voipstudio/cdrs/59/notes HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 6289, "billsec": 6670, "call_id": 4946, "calldate": "2022-09-12 09:28:39", "charge": 8.33, "clid": "value", "context": "value", "destination": 1, "disposition": 3, "dst": "32179243705", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 3798, "info": "value", "live_id": 918, "parent_live_id": 259, "rate": 9.13, "server_id": 875, "sip_endpoint_id": 1400, "src": "32179243705", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 2, "user_id": 9834 }, "links": {} }
GET
/monitors/{id}.mp3 Returns Monitor resource for given Id as MP3 audio file
Parameters
Endpoint URL:
{id} integerMonitor identifier
Example Request
GET /v1.1/voipstudio/monitors/25.mp3 HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 8885, "called": "44779243705", "caller": "44203846719", "context": "value", "dst_id": "value", "dst_name": "value", "duration": 3845, "live_id": 3040, "sentiment": "value", "sip_endpoint_id": 5061, "size": 4168, "src_id": "value", "summary": "value", "timestamp": "2021-10-16 22:40:01", "transcript": "value", "type": "value", "user_id": 6492 }, "links": {} }
GET
/monitors Returns collection of Monitor resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/monitors HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 1010, "called": "44203846719", "caller": "32179243705", "context": "value", "dst_id": "value", "dst_name": "value", "duration": 8955, "live_id": 1581, "sentiment": "value", "sip_endpoint_id": 7749, "size": 4163, "src_id": "value", "summary": "value", "timestamp": "2022-10-19 04:55:10", "transcript": "value", "type": "value", "user_id": 3709 } ], "total": 59 }
DELETE
/monitors Deletes all Monitor resources for given customer
Parameters
No parameters
Example Request
DELETE /v1.1/voipstudio/monitors HTTP/1.1 Host: l7api.com
Responses
202 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 202 OK
GET
/monitors/{id} Returns Monitor resource for given Id
Parameters
Endpoint URL:
{id} integerMonitor identifier
Example Request
GET /v1.1/voipstudio/monitors/30 HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 9879, "called": "12124537768", "caller": "13103345244", "context": "value", "dst_id": "value", "dst_name": "value", "duration": 2973, "live_id": 1998, "sentiment": "value", "sip_endpoint_id": 7725, "size": 4522, "src_id": "value", "summary": "value", "timestamp": "2020-01-18 00:15:29", "transcript": "value", "type": "value", "user_id": 6965 }, "links": {} }
DELETE
/monitors/{ids} Deletes given Monitor resources
Parameters
Endpoint URL:
{ids} comma separated list of integersMonitor identifiers
Example Request
DELETE /v1.1/voipstudio/monitors/58,183,467 HTTP/1.1 Host: l7api.com
Responses
204 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 204 OK
GET
/msdrs/{id}.trace Returns Msdr resource as SIP Trace for given Id
Parameters
Endpoint URL:
{id} integerMsdr identifier
Example Request
GET /v1.1/voipstudio/msdrs/93.trace HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 7255, "call_id": "value", "created_at": "2020-06-21 14:39:21", "dst": "12124537768", "dst_id": "value", "dst_ua": "value", "duration": 7205, "media_session_id": 1706, "src": "13103345244", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 1275 }, "links": {} }
GET
/msdrs/{id}.pcap Returns Msdr resource as PCAP file for given Id
Parameters
Endpoint URL:
{id} integerMsdr identifier
Example Request
GET /v1.1/voipstudio/msdrs/60.pcap HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 194, "call_id": "value", "created_at": "2023-11-01 06:30:41", "dst": "32179243705", "dst_id": "value", "dst_ua": "value", "duration": 7273, "media_session_id": 9875, "src": "44779243705", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 3230 }, "links": {} }
GET
/msdrs Returns collection of Msdr resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/msdrs HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 5020, "call_id": "value", "created_at": "2018-03-02 13:56:36", "dst": "44203844711", "dst_id": "value", "dst_ua": "value", "duration": 994, "media_session_id": 2275, "src": "44779243705", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 637 } ], "total": 59 }
GET
/msdrs/{id} Returns Msdr resource for given Id
Parameters
Endpoint URL:
{id} integerMsdr identifier
Example Request
GET /v1.1/voipstudio/msdrs/91 HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 848, "call_id": "value", "created_at": "2021-01-04 11:48:27", "dst": "12124537768", "dst_id": "value", "dst_ua": "value", "duration": 7271, "media_session_id": 2668, "src": "44779243705", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 795 }, "links": {} }
GET
/msdrs/dictionaries Returns Dictionary for Msdr resource
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/msdrs/dictionaries HTTP/1.1 Host: l7api.com
Responses
200 Unknown
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 427, "call_id": "value", "created_at": "2023-02-25 04:43:31", "dst": "32179243705", "dst_id": "value", "dst_ua": "value", "duration": 3101, "media_session_id": 1501, "src": "44203844711", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 6516 } ], "total": 59 }
DELETE
/statements Deletes collection of Statement resources
Parameters
No parameters
Example Request
DELETE /v1.1/voipstudio/statements HTTP/1.1 Host: l7api.com
Responses
204 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 204 OK
GET
/voicemessages/{id}.mp3 Returns Voicemessage MP3 file for given Id
Parameters
Endpoint URL:
{id} integerVoicemessage identifier
Example Request
GET /v1.1/voipstudio/voicemessages/43.mp3 HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 2288, "caller": "32179243705", "callerid": "32179243705", "dialled": "32179243705", "duration": 3749, "extension_id": 5521, "folder": 1, "is_new": true, "live_id": 3958, "origtime": "2023-08-25 10:15:47", "parent_live_id": 4569, "transcript": "value" }, "links": {} }
GET
/voicemessages Returns collection of Voicemessage resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/voicemessages HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 5672, "caller": "32179243705", "callerid": "44203844711", "dialled": "32179243705", "duration": 4550, "extension_id": 3641, "folder": 2, "is_new": true, "live_id": 1883, "origtime": "2017-12-31 08:27:35", "parent_live_id": 642, "transcript": "value" } ], "total": 59 }
PATCH
/voicemessages [BULK] Updates folder of existing Voicemessage resources
Parameters
JSON body attributes:
id integer
folder string
Example Request
PATCH /v1.1/voipstudio/voicemessages HTTP/1.1 Host: l7api.com [ { "id": 912, "folder": "abcd" }, { "id": 3321, "folder": "abcd" } ]
Responses
200 Success
400 Validation error
401 Unauthorized
403 Access denied
404 Resource not found
400 Validation error
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 115, "caller": "44203846719", "callerid": "44203846719", "dialled": "13103345244", "duration": 3082, "extension_id": 2827, "folder": 2, "is_new": true, "live_id": 1062, "origtime": "2024-07-12 13:06:09", "parent_live_id": 5752, "transcript": "value" }, "links": {} }
DELETE
/voicemessages Deletes collection of Voicemessage resources
Parameters
No parameters
Example Request
DELETE /v1.1/voipstudio/voicemessages HTTP/1.1 Host: l7api.com
Responses
202 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 202 OK
GET
/voicemessages/{id} Returns Voicemessage resource for given Id
Parameters
Endpoint URL:
{id} integerVoicemessage identifier
Example Request
GET /v1.1/voipstudio/voicemessages/78 HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 7017, "caller": "13103345244", "callerid": "13103345244", "dialled": "32179243705", "duration": 5348, "extension_id": 2369, "folder": 1, "is_new": true, "live_id": 3598, "origtime": "2019-03-26 21:44:20", "parent_live_id": 4886, "transcript": "value" }, "links": {} }
DELETE
/voicemessages/{ids} Deletes given voicemessage resources
Parameters
Endpoint URL:
{ids} comma separated list of integersVoicemessage identifiers
Example Request
DELETE /v1.1/voipstudio/voicemessages/9,180,448 HTTP/1.1 Host: l7api.com
Responses
204 Success
401 Unauthorized
403 Access denied
404 Resource not found
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 204 OK
GET
/sms/dictionaries Returns Dictionary for SMS resource
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/sms/dictionaries HTTP/1.1 Host: l7api.com
Responses
200 Unknown
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 2411, "created_at": "2021-06-21 15:32:46", "from": "32179243705", "message": "value", "result": "value", "to": "12124537768", "type": "value", "user_id": 424 } ], "total": 59 }
GET
/calltracking/cdrs Returns collection of Call Tracking Cdr resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/calltracking/cdrs HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": "value", "channels": 5339, "cli_hide": true, "cli_prefix": 9769, "created_at": "2024-08-31 01:40:58", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 2, "has_fax_password": true, "info": "value", "name": "value", "rate": 8.13, "sms_email": "value", "sms_enabled": true, "status": 6, "target_id": 4613, "target_type": 7, "tel_verified": true, "uri": "value" } ], "total": 59 }
GET
/users/{id}/cdrs.csv Exports collection of Cdr resources to .csv file for given user
Parameters
Endpoint URL:
{id} integerUser identifier
Example Request
GET /v1.1/voipstudio/users/64/cdrs.csv HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 5270, "active": true, "created_at": "value", "customer": 1436, "email": "value", "first_name": "value", "is_initial": true, "is_root": true, "last_name": "value", "roles": "value", "two_factor_auth": 1, "visited_apps": "value" }, "links": {} }
GET
/mediasessions/dictionaries Returns Dictionary for Media Session resource
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/mediasessions/dictionaries HTTP/1.1 Host: l7api.com
Responses
200 Unknown
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 5373, "call_id": "value", "created_at": "2024-10-13 09:33:04", "dst_id": "value", "dst_ua": "value", "duration": 1385, "src_id": "value", "src_ua": "value", "status": "value", "type": "value", "updated_at": "2024-10-13 09:48:29", "user": 7510 } ], "total": 59 }
Models
CDR
Attribute | Data type | Description |
id | integer | Object ID |
duration | integer | Call duration in seconds |
live_id | integer | The identifier of the Live Call that generated this CDR record. It can be used to look up related records, such as call recordings. |
parent_live_id | integer | The identifier of parent (previous) Live Call that generated this CDR record. |
user_id | integer | The identifier of the User who made the call. |
sip_endpoint_id | integer | The identifier of the SIP Endpoint which made or received the call. |
server_id | integer | The identifier of the Media Server which handled the call. |
type | string | Call type: O (outbound), I (inbound), M (missed) |
calldate | string | Date and time of the call in format YYYY-MM-DD H:I:S in UTC timezone |
clid | string | Caller ID (if available) with number; |
src_id | string | The identified of the Source of the call, for example User ID 10002 or Contact ID contact:3423 |
src_name | string | String representation of Source of the call, for example Contact name |
src | string | Telephone number associated with the Source of the call |
src_ua | string | User agent of the Source of the call |
src_codec | string | Audio Codec of the Source of the call |
dst_id | string | The identified of the Destination of the call, for example User ID 10002 , Contact ID contact:3423 an IVR IVR324 or a Queue Queue12443 |
dst | string | Telephone number associated with the Destination of the call |
dst_name | string | String representation of Destination of the call, for example Contact name or a Queue name |
dst_ua | string | User agent of the Destination of the call |
dst_codec | string | Audio Codec of the Source of the call |
billsec | integer | Billable (connected) time of the call |
disposition | string | Outcome of the call, one of: INITIAL , RINGING , CONNECTED , ON_HOLD or VM (Voicemail) |
destination | string | Call direction: in (inbound), out (outbound), webcall (Web Call) or callmeback (Call Me Back) |
context | string | Call context: PSTN_CALL , USER_LOCAL , IVR , FOLLOW_ME , TEST_CALL etc. |
rate | number | The per-minute rate of the call. |
charge | number | The cost of the call. |
t_cause | string | Call termination reason, for example: Normal Clearing , User busy , No user responding etc. |
info | string | Additional information about the call. |
call_id | integer | Depreciated |