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": 3409, "created_at": "2017-09-26 12:31:08", "customer_id": 2285, "duration": 3806, "operator_id": 6443, "operator_ua": "value", "state": 2, "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": 437 } ], "total": 59 }
GET
/chats/{id} Returns Chat resource for given Id
Parameters
Endpoint URL:
{id} integerChat identifier
Example Request
GET /v1.1/voipstudio/chats/43 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": 2328, "created_at": "2019-02-14 15:20:12", "customer_id": 2052, "duration": 9509, "operator_id": 2967, "operator_ua": "value", "state": 4, "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": 4383 }, "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/31,147,475 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": 5430, "billsec": 7039, "call_id": 1577, "calldate": "2016-09-23 07:14:01", "charge": 5.33, "clid": "value", "context": "value", "destination": 1, "disposition": 2, "dst": "44779243705", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 5163, "info": "value", "live_id": 482, "parent_live_id": 6127, "rate": 7.13, "server_id": 6041, "sip_endpoint_id": 5902, "src": "44779243705", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 0, "user_id": 8839 } ], "total": 59 }
PATCH
/cdrs [BULK] Updates existing Cdr resources
Parameters
Example Request
PATCH /v1.1/voipstudio/cdrs HTTP/1.1 Host: l7api.com [ [], { "id": 6207 } ]
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": 6324, "billsec": 7008, "call_id": 3774, "calldate": "2022-03-22 16:58:18", "charge": 4.33, "clid": "value", "context": "value", "destination": 0, "disposition": 0, "dst": "32179243705", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 2680, "info": "value", "live_id": 5139, "parent_live_id": 3534, "rate": 3.11, "server_id": 691, "sip_endpoint_id": 4291, "src": "12124537768", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 3, "user_id": 8277 }, "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/89.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": 8988, "billsec": 5941, "call_id": 5904, "calldate": "2017-02-23 14:40:56", "charge": 4.33, "clid": "value", "context": "value", "destination": 0, "disposition": 0, "dst": "12124537768", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 7224, "info": "value", "live_id": 1502, "parent_live_id": 3087, "rate": 7.1, "server_id": 4862, "sip_endpoint_id": 8389, "src": "13103345244", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 3, "user_id": 6333 }, "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/71.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": 247, "billsec": 307, "call_id": 523, "calldate": "2020-07-01 00:42:59", "charge": 7.13, "clid": "value", "context": "value", "destination": 1, "disposition": 2, "dst": "44203846719", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 6244, "info": "value", "live_id": 3036, "parent_live_id": 8331, "rate": 5.13, "server_id": 2162, "sip_endpoint_id": 3594, "src": "44203844711", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 2, "user_id": 7134 }, "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": 607, "billsec": 9505, "call_id": 5298, "calldate": "2020-08-28 01:27:42", "charge": 2.11, "clid": "value", "context": "value", "destination": 1, "disposition": 1, "dst": "44203846719", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 7445, "info": "value", "live_id": 7020, "parent_live_id": 8820, "rate": 5.17, "server_id": 4691, "sip_endpoint_id": 4878, "src": "13103345244", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 3, "user_id": 3212 } ], "total": 59 }
GET
/cdrs/{id} Returns Cdr resource for given Id
Parameters
Endpoint URL:
{id} integerCdr identifier
Example Request
GET /v1.1/voipstudio/cdrs/9 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": 1405, "billsec": 426, "call_id": 1754, "calldate": "2023-02-18 04:09:41", "charge": 7.25, "clid": "value", "context": "value", "destination": 1, "disposition": 1, "dst": "32179243705", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 9188, "info": "value", "live_id": 8268, "parent_live_id": 7855, "rate": 5.2, "server_id": 2568, "sip_endpoint_id": 4689, "src": "32179243705", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 1, "user_id": 7650 }, "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": 2740, "billsec": 75, "call_id": 3943, "calldate": "2018-01-24 18:03:31", "charge": 5.33, "clid": "value", "context": "value", "destination": 0, "disposition": 2, "dst": "12124537768", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 5860, "info": "value", "live_id": 3696, "parent_live_id": 2621, "rate": 9.25, "server_id": 9982, "sip_endpoint_id": 5105, "src": "44779243705", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 0, "user_id": 1998 } ], "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": 1926, "billsec": 8065, "call_id": 1158, "calldate": "2017-10-19 12:24:53", "charge": 9.1, "clid": "value", "context": "value", "destination": 1, "disposition": 3, "dst": "13103345244", "dst_codec": "value", "dst_id": "value", "dst_name": "value", "dst_ua": "value", "duration": 5417, "info": "value", "live_id": 7058, "parent_live_id": 1432, "rate": 9.14, "server_id": 7964, "sip_endpoint_id": 5005, "src": "13103345244", "src_codec": "value", "src_id": "value", "src_name": "value", "src_ua": "value", "t_cause": "value", "type": 3, "user_id": 6981 }, "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/35.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": 9103, "called": "13103345244", "caller": "44203846719", "context": "value", "dst_id": "value", "dst_name": "value", "duration": 7289, "live_id": 8431, "sentiment": "value", "sip_endpoint_id": 3295, "size": 2175, "src_id": "value", "summary": "value", "timestamp": "2022-07-01 05:58:15", "transcript": "value", "type": "value", "user_id": 1305 }, "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": 1992, "called": "32179243705", "caller": "12124537768", "context": "value", "dst_id": "value", "dst_name": "value", "duration": 8862, "live_id": 6874, "sentiment": "value", "sip_endpoint_id": 9180, "size": 6134, "src_id": "value", "summary": "value", "timestamp": "2024-06-12 11:52:08", "transcript": "value", "type": "value", "user_id": 4733 } ], "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/94 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": 1677, "called": "13103345244", "caller": "44203846719", "context": "value", "dst_id": "value", "dst_name": "value", "duration": 566, "live_id": 3690, "sentiment": "value", "sip_endpoint_id": 1805, "size": 7654, "src_id": "value", "summary": "value", "timestamp": "2018-03-24 04:58:22", "transcript": "value", "type": "value", "user_id": 4115 }, "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/72,170,442 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/63.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": 1062, "call_id": "value", "created_at": "2016-07-27 01:34:04", "dst": "12124537768", "dst_id": "value", "dst_ua": "value", "duration": 6504, "media_session_id": 5972, "src": "32179243705", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 975 }, "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/23.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": 5145, "call_id": "value", "created_at": "2019-11-29 13:42:41", "dst": "44203844711", "dst_id": "value", "dst_ua": "value", "duration": 9461, "media_session_id": 3574, "src": "32179243705", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 7245 }, "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": 3846, "call_id": "value", "created_at": "2020-08-06 01:01:43", "dst": "13103345244", "dst_id": "value", "dst_ua": "value", "duration": 3876, "media_session_id": 6412, "src": "12124537768", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 4824 } ], "total": 59 }
GET
/msdrs/{id} Returns Msdr resource for given Id
Parameters
Endpoint URL:
{id} integerMsdr identifier
Example Request
GET /v1.1/voipstudio/msdrs/96 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": 2851, "call_id": "value", "created_at": "2022-04-14 18:22:20", "dst": "32179243705", "dst_id": "value", "dst_ua": "value", "duration": 5094, "media_session_id": 2445, "src": "44779243705", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 8113 }, "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": 345, "call_id": "value", "created_at": "2021-12-02 18:49:36", "dst": "32179243705", "dst_id": "value", "dst_ua": "value", "duration": 4938, "media_session_id": 2108, "src": "32179243705", "src_id": "value", "src_ua": "value", "t_cause": "value", "type": "value", "user_id": 7890 } ], "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/95.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": 7364, "caller": "32179243705", "callerid": "44203846719", "dialled": "44779243705", "duration": 4536, "extension_id": 3057, "folder": 1, "is_new": true, "live_id": 3079, "origtime": "2024-05-01 03:11:33", "parent_live_id": 5175, "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": 6243, "caller": "44203844711", "callerid": "12124537768", "dialled": "32179243705", "duration": 9187, "extension_id": 9213, "folder": 1, "is_new": true, "live_id": 7685, "origtime": "2023-06-28 04:48:54", "parent_live_id": 5194, "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": 882, "folder": "abcd" }, { "id": 2315, "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": 3099, "caller": "13103345244", "callerid": "44779243705", "dialled": "12124537768", "duration": 7023, "extension_id": 7143, "folder": 1, "is_new": true, "live_id": 6887, "origtime": "2024-12-03 00:29:26", "parent_live_id": 9872, "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/28 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": 8512, "caller": "44779243705", "callerid": "44779243705", "dialled": "44203844711", "duration": 1377, "extension_id": 2513, "folder": 0, "is_new": true, "live_id": 4104, "origtime": "2019-02-13 18:37:41", "parent_live_id": 5749, "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/54,126,486 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": 3644, "created_at": "2016-10-25 07:18:56", "from": "13103345244", "message": "value", "result": "value", "to": "32179243705", "type": "value", "user_id": 7282 } ], "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": 6859, "cli_hide": true, "cli_prefix": 1266, "created_at": "2019-11-20 20:03:57", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 0, "has_fax_password": true, "info": "value", "name": "value", "rate": 6.17, "sms_email": "value", "sms_enabled": true, "status": 6, "target_id": 4046, "target_type": 0, "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/6/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": 4259, "active": true, "created_at": "value", "customer": 5640, "email": "value", "first_name": "value", "is_initial": true, "is_root": true, "last_name": "value", "roles": "value", "two_factor_auth": 0, "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": 5144, "call_id": "value", "created_at": "2022-08-17 09:56:15", "dst_id": "value", "dst_ua": "value", "duration": 588, "src_id": "value", "src_ua": "value", "status": "value", "type": "value", "updated_at": "2022-08-17 09:47:14", "user": 6682 } ], "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 |