Settings module
Endpoints
Endpoints for managing PBX settings such us Telephone Numbers configuration, Contacts, Ring Group, IVRs etc.
GET
/calltracking/ddis Returns collection of Call Tracking Ddi resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/calltracking/ddis 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": 1269, "cli_hide": true, "cli_prefix": 1007, "created_at": "2016-09-12 03:00:26", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 5, "has_fax_password": true, "info": "value", "name": "value", "rate": 2.2, "sms_email": "value", "sms_enabled": true, "status": 5, "target_id": 6269, "target_type": 3, "tel_verified": true, "uri": "value" } ], "total": 59 }
PATCH
/calltracking/ddis [BULK] Updates folder of existing Ddi resources
Parameters
JSON body attributes:
e164 string
campaign_id integer
Example Request
PATCH /v1.1/voipstudio/calltracking/ddis HTTP/1.1 Host: l7api.com [ { "e164": "abcd", "campaign_id": 992 }, { "e164": "abcd", "campaign_id": 992, "id": 4461 } ]
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": "value", "channels": 6949, "cli_hide": true, "cli_prefix": 5343, "created_at": "2016-06-03 01:01:37", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 1, "has_fax_password": true, "info": "value", "name": "value", "rate": 6.5, "sms_email": "value", "sms_enabled": true, "status": 1, "target_id": 7672, "target_type": 4, "tel_verified": true, "uri": "value" }, "links": {} }
GET
/calltracking/campaigns Returns collection of Campaign resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/calltracking/campaigns 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": 8814, "cli_hide": true, "cli_prefix": 2283, "created_at": "2017-03-16 20:37:26", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 3, "has_fax_password": true, "info": "value", "name": "value", "rate": 7.2, "sms_email": "value", "sms_enabled": true, "status": 3, "target_id": 5187, "target_type": 1, "tel_verified": true, "uri": "value" } ], "total": 59 }
POST
/calltracking/campaigns Creates new Website resource
Parameters
JSON body attributes:
chat_setting_id integer
call_me_back_setting_id integer
call_tracking_setting_id integer
name string
url string
rules array
Example Request
POST /v1.1/voipstudio/calltracking/campaigns HTTP/1.1 Host: l7api.com { "chat_setting_id": 983, "call_me_back_setting_id": 110, "call_tracking_setting_id": 342, "name": "abcd", "url": "abcd", "rules": "[{Level7\\ChatBundle\\Form\\WebsiteRuleType}]" }
Responses
201 Created
400 Validation error
401 Unauthorized
400 Validation error
401 Unauthorized
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": "value", "channels": 1173, "cli_hide": true, "cli_prefix": 1783, "created_at": "2021-03-12 16:41:11", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 0, "has_fax_password": true, "info": "value", "name": "value", "rate": 5.33, "sms_email": "value", "sms_enabled": true, "status": 5, "target_id": 7586, "target_type": 6, "tel_verified": true, "uri": "value" }, "links": {} }
GET
/contacts Returns collection of Contact resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/contacts 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": 799, "company": "value", "created_at": "value", "dialler_source_id": 1234, "email": "value", "ext": "value", "first_name": "value", "global": true, "group_name": "value", "internal": true, "last_call_at": "2019-06-18 22:38:08", "last_name": "value", "mobile": "value", "mobile_1": "value", "mobile_2": "value", "nb_call_attempts": 3158, "next_call_at": "2019-06-18 22:40:20", "notes": "value", "outcome_id": 9858, "rel_user_id": 9133, "tel": "value", "tel_1": "value", "tel_2": "value", "type": 2, "user_id": 2688 } ], "total": 59 }
POST
/contacts Creates new Contact resource
Parameters
JSON body attributes:
type string
dialler_source_id integer
outcome_id integer
group_name string
first_name string
last_name string
email string
company string
tel string
tel_1 string
tel_2 string
speed_dial_phone string
speed_dial_phone_1 string
speed_dial_phone_2 string
mobile string
mobile_1 string
mobile_2 string
speed_dial_mobile string
speed_dial_mobile_1 string
speed_dial_mobile_2 string
notes string
labels array
groups array
transfer_list boolean
user_id integer
Example Request
POST /v1.1/voipstudio/contacts HTTP/1.1 Host: l7api.com { "type": "abcd", "dialler_source_id": 378, "outcome_id": 168, "group_name": "abcd", "first_name": "abcd", "last_name": "abcd", "email": "email@example.com", "company": "abcd", "tel": "abcd", "tel_1": "abcd", "tel_2": "abcd", "speed_dial_phone": "abcd", "speed_dial_phone_1": "abcd", "speed_dial_phone_2": "abcd", "mobile": "abcd", "mobile_1": "abcd", "mobile_2": "abcd", "speed_dial_mobile": "abcd", "speed_dial_mobile_1": "abcd", "speed_dial_mobile_2": "abcd", "notes": "abcd", "labels": "abcd", "groups": "abcd", "transfer_list": true, "user_id": 845 }
Responses
201 Created
400 Validation error
400 Validation error
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 2184, "company": "value", "created_at": "value", "dialler_source_id": 157, "email": "value", "ext": "value", "first_name": "value", "global": true, "group_name": "value", "internal": true, "last_call_at": "2023-08-05 13:20:10", "last_name": "value", "mobile": "value", "mobile_1": "value", "mobile_2": "value", "nb_call_attempts": 310, "next_call_at": "2023-08-05 13:13:25", "notes": "value", "outcome_id": 3626, "rel_user_id": 2722, "tel": "value", "tel_1": "value", "tel_2": "value", "type": 1, "user_id": 9804 }, "links": {} }
PATCH
/contacts [BULK] Updates folder of existing Contact resources
Parameters
JSON body attributes:
id integer
group_name string
labels array
Example Request
PATCH /v1.1/voipstudio/contacts HTTP/1.1 Host: l7api.com [ { "id": 359, "group_name": "abcd", "labels": "abcd" }, { "id": 5675, "group_name": "abcd", "labels": "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": 3127, "company": "value", "created_at": "value", "dialler_source_id": 9764, "email": "value", "ext": "value", "first_name": "value", "global": true, "group_name": "value", "internal": true, "last_call_at": "2020-03-02 23:31:57", "last_name": "value", "mobile": "value", "mobile_1": "value", "mobile_2": "value", "nb_call_attempts": 5770, "next_call_at": "2020-03-02 23:47:36", "notes": "value", "outcome_id": 970, "rel_user_id": 6289, "tel": "value", "tel_1": "value", "tel_2": "value", "type": 0, "user_id": 1174 }, "links": {} }
GET
/contacts/{id} Returns Contact resource for given Id
Parameters
Endpoint URL:
{id} integerContact identifier
Example Request
GET /v1.1/voipstudio/contacts/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": 7664, "company": "value", "created_at": "value", "dialler_source_id": 6954, "email": "value", "ext": "value", "first_name": "value", "global": true, "group_name": "value", "internal": true, "last_call_at": "2017-06-25 21:21:03", "last_name": "value", "mobile": "value", "mobile_1": "value", "mobile_2": "value", "nb_call_attempts": 4197, "next_call_at": "2017-06-25 21:20:55", "notes": "value", "outcome_id": 8127, "rel_user_id": 3592, "tel": "value", "tel_1": "value", "tel_2": "value", "type": 3, "user_id": 9203 }, "links": {} }
PATCH
/contacts/{id} Updates existing Contact resource
Parameters
Endpoint URL:
{id} integerContact identifier
JSON body attributes:
type string
dialler_source_id integer
outcome_id integer
group_name string
first_name string
last_name string
email string
company string
tel string
tel_1 string
tel_2 string
speed_dial_phone string
speed_dial_phone_1 string
speed_dial_phone_2 string
mobile string
mobile_1 string
mobile_2 string
speed_dial_mobile string
speed_dial_mobile_1 string
speed_dial_mobile_2 string
notes string
labels array
groups array
transfer_list boolean
user_id integer
Example Request
PATCH /v1.1/voipstudio/contacts/19 HTTP/1.1 Host: l7api.com { "type": "abcd", "dialler_source_id": 995, "outcome_id": 566, "group_name": "abcd", "first_name": "abcd", "last_name": "abcd", "email": "email@example.com", "company": "abcd", "tel": "abcd", "tel_1": "abcd", "tel_2": "abcd", "speed_dial_phone": "abcd", "speed_dial_phone_1": "abcd", "speed_dial_phone_2": "abcd", "mobile": "abcd", "mobile_1": "abcd", "mobile_2": "abcd", "speed_dial_mobile": "abcd", "speed_dial_mobile_1": "abcd", "speed_dial_mobile_2": "abcd", "notes": "abcd", "labels": "abcd", "groups": "abcd", "transfer_list": true, "user_id": 132 }
Responses
200 Success
400 Validation error
404 Resource not found
400 Validation error
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 3964, "company": "value", "created_at": "value", "dialler_source_id": 9814, "email": "value", "ext": "value", "first_name": "value", "global": true, "group_name": "value", "internal": true, "last_call_at": "2020-11-28 11:57:10", "last_name": "value", "mobile": "value", "mobile_1": "value", "mobile_2": "value", "nb_call_attempts": 5204, "next_call_at": "2020-11-28 11:47:13", "notes": "value", "outcome_id": 4156, "rel_user_id": 5499, "tel": "value", "tel_1": "value", "tel_2": "value", "type": 0, "user_id": 8186 }, "links": {} }
DELETE
/contacts/{ids} Deletes existing Contact resources
Parameters
Endpoint URL:
{ids} comma separated list of integersContact identifiers
Example Request
DELETE /v1.1/voipstudio/contacts/24,182,436 HTTP/1.1 Host: l7api.com
Responses
204 Success
202 Accepted for further procesing.
401 Unauthorized
403 Access denied
404 Resource not found
202 Accepted for further procesing.
401 Unauthorized
403 Access denied
404 Resource not found
Example Response
HTTP/1.1 202 OK
GET
/conferences Returns collection of Conference resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/conferences 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": 4741, "ann_join_leave": true, "confno": 1838, "confno_pstn": 5318, "monitor": true, "name": "value", "pin": "value", "pin_pstn": "value" } ], "total": 59 }
POST
/conferences Creates new Conference resource
Parameters
JSON body attributes:
name string
pin string
pin_pstn string
ann_join_leave boolean
monitor boolean
ddis array
Example Request
POST /v1.1/voipstudio/conferences HTTP/1.1 Host: l7api.com { "name": "abcd", "pin": "abcd", "pin_pstn": "abcd", "ann_join_leave": true, "monitor": true, "ddis": "abcd" }
Responses
201 Created
400 Validation error
401 Unauthorized
400 Validation error
401 Unauthorized
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 4545, "ann_join_leave": true, "confno": 3830, "confno_pstn": 9349, "monitor": true, "name": "value", "pin": "value", "pin_pstn": "value" }, "links": {} }
GET
/conferences/{id} Returns Conference resource for given Id
Parameters
Endpoint URL:
{id} integerConference identifier
Example Request
GET /v1.1/voipstudio/conferences/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": 8914, "ann_join_leave": true, "confno": 2409, "confno_pstn": 5278, "monitor": true, "name": "value", "pin": "value", "pin_pstn": "value" }, "links": {} }
PATCH
/conferences/{id} Updates existing Conference resource
Parameters
Endpoint URL:
{id} integerConference identifier
JSON body attributes:
name string
pin string
pin_pstn string
ann_join_leave boolean
monitor boolean
ddis array
Example Request
PATCH /v1.1/voipstudio/conferences/32 HTTP/1.1 Host: l7api.com { "name": "abcd", "pin": "abcd", "pin_pstn": "abcd", "ann_join_leave": true, "monitor": true, "ddis": "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": 5026, "ann_join_leave": true, "confno": 622, "confno_pstn": 7301, "monitor": true, "name": "value", "pin": "value", "pin_pstn": "value" }, "links": {} }
DELETE
/conferences/{id} Deletes existing Conference resource
Parameters
Endpoint URL:
{id} integerConference identifier
Example Request
DELETE /v1.1/voipstudio/conferences/8 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
/ddis Returns collection of Ddi resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/ddis 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": 1962, "cli_hide": true, "cli_prefix": 6541, "created_at": "2017-02-25 18:14:22", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 4, "has_fax_password": true, "info": "value", "name": "value", "rate": 2.11, "sms_email": "value", "sms_enabled": true, "status": 5, "target_id": 4799, "target_type": 0, "tel_verified": true, "uri": "value" } ], "total": 59 }
GET
/ddis/calltracking Returns collection of Call Tracking Ddi resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/ddis/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": "value", "channels": 556, "cli_hide": true, "cli_prefix": 951, "created_at": "2020-07-02 08:14:28", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 1, "has_fax_password": true, "info": "value", "name": "value", "rate": 3.2, "sms_email": "value", "sms_enabled": true, "status": 0, "target_id": 3622, "target_type": 5, "tel_verified": true, "uri": "value" } ], "total": 59 }
GET
/ddis/dictionaries Returns Dictionary for Ddi resource
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/ddis/dictionaries HTTP/1.1 Host: l7api.com
Responses
200 Unknown
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": "value", "channels": 3776, "cli_hide": true, "cli_prefix": 1292, "created_at": "2017-07-05 12:52:11", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 2, "has_fax_password": true, "info": "value", "name": "value", "rate": 5.5, "sms_email": "value", "sms_enabled": true, "status": 6, "target_id": 5418, "target_type": 6, "tel_verified": true, "uri": "value" } ], "total": 59 }
GET
/ddis/{e164} Returns Ddi resource for given e164
Parameters
Example Request
GET /v1.1/voipstudio/ddis/{e164} 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": "value", "channels": 5015, "cli_hide": true, "cli_prefix": 4682, "created_at": "2022-09-08 20:57:58", "e164": "value", "esc_enabled": true, "fax_email": "value", "fax_enabled": true, "flag": 1, "has_fax_password": true, "info": "value", "name": "value", "rate": 4.11, "sms_email": "value", "sms_enabled": true, "status": 1, "target_id": 968, "target_type": 5, "tel_verified": true, "uri": "value" } ], "total": 59 }
GET
/queues Returns collection of Queue resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/queues 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": 765, "ann_freq": 6745, "caller_sounds": "value", "cli_prefix": true, "final_dst_id": 2951, "final_dst_type": 4, "hash_to_exit": true, "hold_ann": true, "ivr": 1593, "join_empty": true, "language": 6, "liaf": true, "max_callers": 2940, "max_wait_time": 8085, "moh": 8085, "monitor": 1, "name": "value", "number": 6063, "pos_ann": true, "post_call_ivr_id": 937, "retry": 7241, "ring_strategy": 2, "ring_time": 5124, "skip_busy": true, "wait_time_prefix": true, "wrap_up_panel": true, "wrap_up_panel_timeout": 4123, "wrap_up_time": 7322 } ], "total": 59 }
POST
/queues Creates new Queue resource
Parameters
JSON body attributes:
moh_id integer
ivr_id integer
ddis array
users array
Users that should be logged in to the queue
Users that should be logged in to the queue
name string
number integer
cli_prefix boolean
wait_time_prefix boolean
agent_sounds undefined
caller_sounds undefined
max_wait_time integer
max_callers integer
join_empty boolean
ring_strategy string
ring_time integer
retry integer
wrap_up_time integer
wrap_up_panel boolean
wrap_up_panel_timeout integer
skip_busy boolean
language string
pos_ann boolean
hold_ann boolean
ann_freq integer
final_dst_type string
final_dst_id integer
post_call_ivr_id integer
hash_to_exit boolean
liaf boolean
groups array
monitor string
Example Request
POST /v1.1/voipstudio/queues HTTP/1.1 Host: l7api.com { "moh_id": 985, "ivr_id": 552, "ddis": "abcd", "users": [ { "id": "User ID", "status": "Bool that indicates that user is logged in by default." } ], "name": "abcd", "number": 643, "cli_prefix": true, "wait_time_prefix": true, "agent_sounds": "abcd", "caller_sounds": "abcd", "max_wait_time": 212, "max_callers": 742, "join_empty": true, "ring_strategy": "abcd", "ring_time": 924, "retry": 835, "wrap_up_time": 407, "wrap_up_panel": true, "wrap_up_panel_timeout": 136, "skip_busy": true, "language": "abcd", "pos_ann": true, "hold_ann": true, "ann_freq": 275, "final_dst_type": "abcd", "final_dst_id": 500, "post_call_ivr_id": 471, "hash_to_exit": true, "liaf": true, "groups": "abcd", "monitor": "abcd" }
Responses
201 Created
400 Validation error
401 Unauthorized
400 Validation error
401 Unauthorized
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 4249, "ann_freq": 6969, "caller_sounds": "value", "cli_prefix": true, "final_dst_id": 199, "final_dst_type": 5, "hash_to_exit": true, "hold_ann": true, "ivr": 4398, "join_empty": true, "language": 7, "liaf": true, "max_callers": 4489, "max_wait_time": 8810, "moh": 9776, "monitor": 2, "name": "value", "number": 1086, "pos_ann": true, "post_call_ivr_id": 8026, "retry": 1897, "ring_strategy": 3, "ring_time": 5041, "skip_busy": true, "wait_time_prefix": true, "wrap_up_panel": true, "wrap_up_panel_timeout": 8852, "wrap_up_time": 7670 }, "links": {} }
GET
/queues/{id} Returns Queue resource for given Id
Parameters
Endpoint URL:
{id} integerQueue identifier
Example Request
GET /v1.1/voipstudio/queues/41 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": 5850, "ann_freq": 3159, "caller_sounds": "value", "cli_prefix": true, "final_dst_id": 1020, "final_dst_type": 1, "hash_to_exit": true, "hold_ann": true, "ivr": 9430, "join_empty": true, "language": 6, "liaf": true, "max_callers": 303, "max_wait_time": 3033, "moh": 3720, "monitor": 2, "name": "value", "number": 5991, "pos_ann": true, "post_call_ivr_id": 2701, "retry": 6350, "ring_strategy": 1, "ring_time": 1049, "skip_busy": true, "wait_time_prefix": true, "wrap_up_panel": true, "wrap_up_panel_timeout": 3821, "wrap_up_time": 5807 }, "links": {} }
GET
/ringgroups Returns collection of RingGroup resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/ringgroups HTTP/1.1 Host: l7api.com
Responses
200 This endpoint return Ring Group resource data.
Each record can also contain data of assigned users and numbers.
To return additional data 'include' query parameter should be added to GET request:
```
GET /ringgroups?include=ddis,users
```
401 Unauthorized
401 Unauthorized
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 6884, "cli_prefix": true, "final_dst_id": 1962, "final_dst_type": 2, "moh_id": 5748, "name": "value", "number": 585, "ring_time": 6937, "strategy": 2 } ], "total": 59 }
POST
/ringgroups Creates new RingGroup resource
Parameters
JSON body attributes:
name string
users array
Users that should be assigned to the ring group
Users that should be assigned to the ring group
ddis array
Numbers that should be assigned to the ring group in E164 format
Numbers that should be assigned to the ring group in E164 format
strategy string
final_dst_type string
final_dst_id integer
ring_time integer
cli_prefix boolean
moh_id integer
number integer
Example Request
POST /v1.1/voipstudio/ringgroups HTTP/1.1 Host: l7api.com { "name": "abcd", "users": [ 12345, 56789 ], "ddis": [ 44206123456, 48500123445 ], "strategy": "abcd", "final_dst_type": "abcd", "final_dst_id": 887, "ring_time": 724, "cli_prefix": true, "moh_id": 726, "number": 178 }
Responses
201 Created
400 Validation error
401 Unauthorized
400 Validation error
401 Unauthorized
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 6585, "cli_prefix": true, "final_dst_id": 9716, "final_dst_type": 2, "moh_id": 2570, "name": "value", "number": 2146, "ring_time": 6343, "strategy": 2 }, "links": {} }
GET
/ringgroups/dictionaries Returns Dictionary for RingGroup resource
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/ringgroups/dictionaries HTTP/1.1 Host: l7api.com
Responses
200 Success
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": [ { "id": 1553, "cli_prefix": true, "final_dst_id": 7435, "final_dst_type": 4, "moh_id": 3433, "name": "value", "number": 8534, "ring_time": 6073, "strategy": 0 } ], "total": 59 }
GET
/ringgroups/{id} Returns RingGroup resource for given Id
Parameters
Endpoint URL:
{id} integerRingGroup identifier
Example Request
GET /v1.1/voipstudio/ringgroups/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": 2183, "cli_prefix": true, "final_dst_id": 6432, "final_dst_type": 6, "moh_id": 5867, "name": "value", "number": 1100, "ring_time": 6393, "strategy": 1 }, "links": {} }
PATCH
/ringgroups/{id} Updates existing RingGroup resource
Parameters
Endpoint URL:
{id} integerRingGroup identifier
JSON body attributes:
name string
users array
Users that should be assigned to the ring group
Users that should be assigned to the ring group
ddis array
Numbers that should be assigned to the ring group in E164 format
Numbers that should be assigned to the ring group in E164 format
strategy string
final_dst_type string
final_dst_id integer
ring_time integer
cli_prefix boolean
moh_id integer
number integer
Example Request
PATCH /v1.1/voipstudio/ringgroups/79 HTTP/1.1 Host: l7api.com { "name": "abcd", "users": [ 12345, 56789 ], "ddis": [ 44206123456, 48500123445 ], "strategy": "abcd", "final_dst_type": "abcd", "final_dst_id": 744, "ring_time": 785, "cli_prefix": true, "moh_id": 655, "number": 417 }
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": 3995, "cli_prefix": true, "final_dst_id": 7072, "final_dst_type": 4, "moh_id": 8782, "name": "value", "number": 9878, "ring_time": 7611, "strategy": 1 }, "links": {} }
DELETE
/ringgroups/{id} Deletes existing RingGroup resource
Parameters
Endpoint URL:
{id} integerRingGroup identifier
Example Request
DELETE /v1.1/voipstudio/ringgroups/43 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
/pickupgroups Returns collection of PickupGroup resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/pickupgroups 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": 5643, "name": "value", "users": 5694 } ], "total": 59 }
GET
/pickupgroups/{id} Returns PickupGroup resource for given Id
Parameters
Endpoint URL:
{id} integerPickupGroup identifier
Example Request
GET /v1.1/voipstudio/pickupgroups/65 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": 7838, "name": "value", "users": 1635 }, "links": {} }
GET
/routingrules Returns collection of RoutingRule resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/routingrules 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": 1985, "action": "value", "customer": 4325, "destination": "value", "direction": 0, "final_dst": true, "pos": 7624, "source": "value", "time_interval": "value" } ], "total": 59 }
POST
/routingrules Creates new routing rule resource
Parameters
JSON body attributes:
pos integer
source array
Array of sources depending on routing rule direction. E.g user ID, number in E164 format.
Array of sources depending on routing rule direction. E.g user ID, number in E164 format.
destination array
Array of destinations depending on routing rule direction. E.g number pattern ID, group.
Array of destinations depending on routing rule direction. E.g number pattern ID, group.
time_interval array
Array of time interval resources IDs
Array of time interval resources IDs
action string
Action that should be performed while matching rule, e.g. Block, redirect to IVR or user
Action that should be performed while matching rule, e.g. Block, redirect to IVR or user
direction string
Routing rule direction. Cannot be change with PATCH
Routing rule direction. Cannot be change with PATCH
Example Request
POST /v1.1/voipstudio/routingrules HTTP/1.1 Host: l7api.com { "pos": 803, "source": [ "any", 56789 ], "destination": [ "48X", 56789 ], "time_interval": [ 1234, 56789 ], "action": [ "U:XXX", "B" ], "direction": [ "in", "out" ] }
Responses
201 Created
400 Validation error
400 Validation error
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 4061, "action": "value", "customer": 7678, "destination": "value", "direction": 0, "final_dst": true, "pos": 84, "source": "value", "time_interval": "value" }, "links": {} }
GET
/routingrules/{id} Returns routing rule resource for given ID
Parameters
Endpoint URL:
{id} integerRoutingRule2 identifier
Example Request
GET /v1.1/voipstudio/routingrules/50 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": 4084, "action": "value", "customer": 2989, "destination": "value", "direction": 0, "final_dst": true, "pos": 1488, "source": "value", "time_interval": "value" }, "links": {} }
PATCH
/routingrules/{id} Updates existing routing rule resource
Parameters
Endpoint URL:
{id} integerRoutingRule2 identifier
JSON body attributes:
pos integer
source array
Array of sources depending on routing rule direction. E.g user ID, number in E164 format.
Array of sources depending on routing rule direction. E.g user ID, number in E164 format.
destination array
Array of destinations depending on routing rule direction. E.g number pattern ID, group.
Array of destinations depending on routing rule direction. E.g number pattern ID, group.
time_interval array
Array of time interval resources IDs
Array of time interval resources IDs
action string
Action that should be performed while matching rule, e.g. Block, redirect to IVR or user
Action that should be performed while matching rule, e.g. Block, redirect to IVR or user
direction string
Routing rule direction. Cannot be change with PATCH
Routing rule direction. Cannot be change with PATCH
Example Request
PATCH /v1.1/voipstudio/routingrules/78 HTTP/1.1 Host: l7api.com { "pos": 285, "source": [ "any", 56789 ], "destination": [ "48X", 56789 ], "time_interval": [ 1234, 56789 ], "action": [ "U:XXX", "B" ], "direction": [ "in", "out" ] }
Responses
200 Success
400 Validation error
404 Resource not found
400 Validation error
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 1569, "action": "value", "customer": 7256, "destination": "value", "direction": 0, "final_dst": true, "pos": 3462, "source": "value", "time_interval": "value" }, "links": {} }
GET
/ivrs Returns collection of Ivr resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/ivrs 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": 421, "eight": "value", "eight_sounds": "value", "ext_dialing": true, "final_dst_id": 6576, "final_dst_type": 0, "five": "value", "five_sounds": "value", "four": "value", "four_sounds": "value", "hash": "value", "language": 6, "name": "value", "nine": "value", "nine_sounds": "value", "number": 92, "one": "value", "one_sounds": "value", "post_sounds": "value", "random_choice": true, "random_dst": "value", "repeats": 6245, "ring_time": 8666, "seven": "value", "seven_sounds": "value", "six": "value", "six_sounds": "value", "sounds": "value", "star": "value", "three": "value", "three_sounds": "value", "timeout": 766, "two": "value", "two_sounds": "value", "zero": "value" } ], "total": 59 }
POST
/ivrs Creates new Ivr resource
Parameters
JSON body attributes:
name string
ring_time integer
post_sounds array
ddis array
timeout integer
repeats integer
ext_dialing boolean
language string
final_dst_type string
final_dst_id integer
number integer
random_choice boolean
Example Request
POST /v1.1/voipstudio/ivrs HTTP/1.1 Host: l7api.com { "name": "abcd", "ring_time": 328, "post_sounds": "abcd", "ddis": "abcd", "timeout": 937, "repeats": 989, "ext_dialing": true, "language": "abcd", "final_dst_type": "abcd", "final_dst_id": 525, "number": 200, "random_choice": true }
Responses
201 Created
400 Validation error
401 Unauthorized
400 Validation error
401 Unauthorized
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 7206, "eight": "value", "eight_sounds": "value", "ext_dialing": true, "final_dst_id": 1067, "final_dst_type": 2, "five": "value", "five_sounds": "value", "four": "value", "four_sounds": "value", "hash": "value", "language": 2, "name": "value", "nine": "value", "nine_sounds": "value", "number": 2748, "one": "value", "one_sounds": "value", "post_sounds": "value", "random_choice": true, "random_dst": "value", "repeats": 762, "ring_time": 4810, "seven": "value", "seven_sounds": "value", "six": "value", "six_sounds": "value", "sounds": "value", "star": "value", "three": "value", "three_sounds": "value", "timeout": 9443, "two": "value", "two_sounds": "value", "zero": "value" }, "links": {} }
GET
/ivrs/{id} Returns Ivr resource for given Id
Parameters
Endpoint URL:
{id} integerIvr identifier
Example Request
GET /v1.1/voipstudio/ivrs/16 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": 4255, "eight": "value", "eight_sounds": "value", "ext_dialing": true, "final_dst_id": 9089, "final_dst_type": 2, "five": "value", "five_sounds": "value", "four": "value", "four_sounds": "value", "hash": "value", "language": 1, "name": "value", "nine": "value", "nine_sounds": "value", "number": 7582, "one": "value", "one_sounds": "value", "post_sounds": "value", "random_choice": true, "random_dst": "value", "repeats": 5768, "ring_time": 5182, "seven": "value", "seven_sounds": "value", "six": "value", "six_sounds": "value", "sounds": "value", "star": "value", "three": "value", "three_sounds": "value", "timeout": 8655, "two": "value", "two_sounds": "value", "zero": "value" }, "links": {} }
PATCH
/ivrs/{id} Updates existing Ivr resource
Parameters
Endpoint URL:
{id} integerIvr identifier
JSON body attributes:
name string
ring_time integer
post_sounds array
ddis array
timeout integer
repeats integer
ext_dialing boolean
language string
final_dst_type string
final_dst_id integer
number integer
random_choice boolean
Example Request
PATCH /v1.1/voipstudio/ivrs/31 HTTP/1.1 Host: l7api.com { "name": "abcd", "ring_time": 211, "post_sounds": "abcd", "ddis": "abcd", "timeout": 673, "repeats": 654, "ext_dialing": true, "language": "abcd", "final_dst_type": "abcd", "final_dst_id": 675, "number": 275, "random_choice": true }
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": 3787, "eight": "value", "eight_sounds": "value", "ext_dialing": true, "final_dst_id": 4599, "final_dst_type": 3, "five": "value", "five_sounds": "value", "four": "value", "four_sounds": "value", "hash": "value", "language": 5, "name": "value", "nine": "value", "nine_sounds": "value", "number": 4405, "one": "value", "one_sounds": "value", "post_sounds": "value", "random_choice": true, "random_dst": "value", "repeats": 1357, "ring_time": 8294, "seven": "value", "seven_sounds": "value", "six": "value", "six_sounds": "value", "sounds": "value", "star": "value", "three": "value", "three_sounds": "value", "timeout": 7008, "two": "value", "two_sounds": "value", "zero": "value" }, "links": {} }
DELETE
/ivrs/{id} Deletes existing Ivr resource
Parameters
Endpoint URL:
{id} integerIvr identifier
Example Request
DELETE /v1.1/voipstudio/ivrs/40 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
/mohs/{id} Returns Moh resource for given Id
Parameters
Endpoint URL:
{id} integerMoh identifier
Example Request
GET /v1.1/voipstudio/mohs/7 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": 4834, "locked": true, "name": "value" }, "links": {} }
GET
/contactlabels Returns collection of ContactLabel resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/contactlabels 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": 7347, "color": "value", "name": "value" } ], "total": 59 }
POST
/contactlabels Creates new ContactLabel resource
Parameters
JSON body attributes:
name string
color string
Example Request
POST /v1.1/voipstudio/contactlabels HTTP/1.1 Host: l7api.com { "name": "abcd", "color": "abcd" }
Responses
201 Created
400 Validation error
400 Validation error
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 3311, "color": "value", "name": "value" }, "links": {} }
GET
/contactlabels/{id} Returns ContactLabel resource for given Id
Parameters
Endpoint URL:
{id} integerContactLabel identifier
Example Request
GET /v1.1/voipstudio/contactlabels/10 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": 2313, "color": "value", "name": "value" }, "links": {} }
PATCH
/contactlabels/{id} Updates existing ContactLabel resource
Parameters
Endpoint URL:
{id} integerContactLabel identifier
JSON body attributes:
name string
color string
Example Request
PATCH /v1.1/voipstudio/contactlabels/88 HTTP/1.1 Host: l7api.com { "name": "abcd", "color": "abcd" }
Responses
200 Success
400 Validation error
404 Resource not found
400 Validation error
404 Resource not found
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data": { "id": 3422, "color": "value", "name": "value" }, "links": {} }
DELETE
/contactlabels/{id} Deletes existing ContactLabels resources
Parameters
Endpoint URL:
{id} integerContactLabel identifier
Example Request
DELETE /v1.1/voipstudio/contactlabels/7 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
/contactgroups Returns collection of Contact group resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/contactgroups HTTP/1.1 Host: l7api.com
Responses
200 Success
401 Unauthorized
401 Unauthorized
Example Response
GET
/contactoutcomes Returns collection of ContactOutcome resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/contactoutcomes 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": 4285, "_name": "value", "created_at": "2019-05-30 23:27:56", "description": "value", "name": "value" } ], "total": 59 }
POST
/contactoutcomes Creates new ContactOutcome resource
Parameters
JSON body attributes:
name string
description string
Example Request
POST /v1.1/voipstudio/contactoutcomes HTTP/1.1 Host: l7api.com { "name": "abcd", "description": "abcd" }
Responses
201 Created
400 Validation error
401 Unauthorized
400 Validation error
401 Unauthorized
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 7800, "_name": "value", "created_at": "2016-05-15 05:01:06", "description": "value", "name": "value" }, "links": {} }
GET
/surveys Returns collection of Survey resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/surveys 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": 8603, "bye_sounds": "value", "created_at": "2018-07-12 01:12:41", "init_sounds": "value", "invalid_sounds": "value", "language": 0, "name": "value", "number": 5928, "repeats": 6478, "timeout": 3693 } ], "total": 59 }
POST
/surveys Creates new Survey resource
Parameters
JSON body attributes:
name string
number integer
init_sounds array
bye_sounds array
invalid_sounds array
timeout integer
repeats integer
language string
questions undefined
Example Request
POST /v1.1/voipstudio/surveys HTTP/1.1 Host: l7api.com { "name": "abcd", "number": 842, "init_sounds": "abcd", "bye_sounds": "abcd", "invalid_sounds": "abcd", "timeout": 246, "repeats": 254, "language": "abcd", "questions": "abcd" }
Responses
201 Created
400 Validation error
401 Unauthorized
400 Validation error
401 Unauthorized
Example Response
HTTP/1.1 201 OK Content-Type: application/json { "data": { "id": 5118, "bye_sounds": "value", "created_at": "2016-05-23 18:14:19", "init_sounds": "value", "invalid_sounds": "value", "language": 5, "name": "value", "number": 8212, "repeats": 5680, "timeout": 3803 }, "links": {} }
GET
/surveys/{id} Returns Survey resource for given Id
Parameters
Endpoint URL:
{id} integerSurvey identifier
Example Request
GET /v1.1/voipstudio/surveys/84 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": 1975, "bye_sounds": "value", "created_at": "2016-10-09 03:59:29", "init_sounds": "value", "invalid_sounds": "value", "language": 1, "name": "value", "number": 6613, "repeats": 1567, "timeout": 9090 }, "links": {} }
PATCH
/surveys/{id} Updates existing Survey resource
Parameters
Endpoint URL:
{id} integerSurvey identifier
JSON body attributes:
name string
number integer
init_sounds array
bye_sounds array
invalid_sounds array
timeout integer
repeats integer
language string
questions undefined
Example Request
PATCH /v1.1/voipstudio/surveys/28 HTTP/1.1 Host: l7api.com { "name": "abcd", "number": 990, "init_sounds": "abcd", "bye_sounds": "abcd", "invalid_sounds": "abcd", "timeout": 632, "repeats": 138, "language": "abcd", "questions": "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": 1934, "bye_sounds": "value", "created_at": "2022-07-03 10:20:28", "init_sounds": "value", "invalid_sounds": "value", "language": 6, "name": "value", "number": 1103, "repeats": 782, "timeout": 707 }, "links": {} }
DELETE
/surveys/{id} Deletes existing Survey resource
Parameters
Endpoint URL:
{id} integerSurvey identifier
Example Request
DELETE /v1.1/voipstudio/surveys/28 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
/users Returns collection of User resources
Parameters
No parameters
Example Request
GET /v1.1/voipstudio/users 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": 3669, "active": true, "created_at": "value", "customer": 2290, "email": "value", "first_name": "value", "is_initial": true, "is_root": true, "last_name": "value", "roles": "value", "two_factor_auth": 1, "visited_apps": "value" } ], "total": 59 }
PATCH
/users [BULK] Updates location and/or teams of existing User resources
Parameters
JSON body attributes:
id integer
location_id integer
groups array
Example Request
PATCH /v1.1/voipstudio/users HTTP/1.1 Host: l7api.com [ { "id": 408, "location_id": 660, "groups": "abcd" }, { "id": 1398, "location_id": 660, "groups": "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": 6397, "active": true, "created_at": "value", "customer": 2721, "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
/callmeback/buttons/{id} Returns CallMeBackButton resource for given Id
Parameters
Endpoint URL:
{id} integerCallMeBackButton identifier
Example Request
GET /v1.1/voipstudio/callmeback/buttons/35 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
PATCH
/callmeback/buttons/{id} Updates existing CallMeBackButton resource
Parameters
Endpoint URL:
{id} integerCallMeBackButton identifier
Example Request
PATCH /v1.1/voipstudio/callmeback/buttons/29 HTTP/1.1 Host: l7api.com
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
DELETE
/callmeback/buttons/{id} Deletes existing resource
Parameters
Endpoint URL:
{id} integerCallMeBackButton identifier
Example Request
DELETE /v1.1/voipstudio/callmeback/buttons/21 HTTP/1.1 Host: l7api.com
Responses
204 Success
401 Unauthorized
403 Access denied
401 Unauthorized
403 Access denied
Example Response
HTTP/1.1 204 OK
POST
/callmeback/buttons Creates new CallMeBackButton resource
Parameters
Example Request
POST /v1.1/voipstudio/callmeback/buttons HTTP/1.1 Host: l7api.com
Responses
201 Created
400 Validation error
401 Unauthorized
400 Validation error
401 Unauthorized
Example Response
Models
Contact
Attribute | Data type | Description |
id | integer | Object ID |
type | string | Type of the Contact, one of: G (Global - accessible to all users), P (Private - accessible to the owner only), I (Internal - contact representing internal User), D (Dialler - contact which belongs to Dialler Campaign). |
group_name | string | The name of the group the contact belongs to. |
first_name | string | The contact's first name. |
last_name | string | The contact's last name. |
string | The contact's email. | |
ext | string | The contact's extension number. Only applies to internal contacts. |
company | string | The company contact's belong to. |
tel | string | The contact's phone number. |
tel_1 | string | The contact's alternative phone number. |
tel_2 | string | The contact's alternative phone number. |
mobile | string | The contact's mobile number. |
mobile_1 | string | The contact's alternative mobile number. |
mobile_2 | string | The contact's alternative mobile number. |
notes | string | Notes associated with this contact. |
created_at | date-time | Creation date and time in format YYYY-MM-DD H:I:S in UTC timezone |
user_id | integer | The user this contact belongs to. |
next_call_at | string | Date and time of the next scheduled call in format YYYY-MM-DD H:I:S in UTC timezone |
last_call_at | string | Date and time of the last call to or from this contact in format YYYY-MM-DD H:I:S in UTC timezone |
nb_call_attempts | integer | Number of automated dialler call attempts. |
dialler_source_id | integer | The identified of Auto Dialler source. |
outcome_id | integer | The identified of the last call outcome for Auto Dialler purposes. |
global | boolean | Depreciated |
internal | boolean | Depreciated |
rel_user_id | integer | Depreciated |