Ring Groups
Manage your ring groups.
Retrieve a collection of ring groups.
Use the filter query parameter to retrieve just a subset of a collection.
Use the search query parameter to restrict the results of a request to match a search criterion.
Use the orderby query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip query parameter to set the number of items to skip at the start of a collection.
0Use the top query parameter to specify the page size of the result set.
100OK
Total number of resource.
100Error
GET /api/ring_groups HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1,
"items": [
{
"id": "xxxxxx",
"name": "example",
"extension_number": "101",
"ring_time": 20,
"ring_strategy": "RING_SIMULTANEOUSLY",
"skip_busy_member": true,
"enable_paid": true,
"enable_prid": true,
"enable_night_mode": false,
"extension_number_as_to_header": false,
"no_answer_forward_rule": {
"action": "HANGUP"
},
"night_mode_forward_rule": {
"action": "HANGUP"
},
"enable_audio_recording": false
}
]
}Add a new ring group.
The name of ring group.
The extension number.
[0-9]{3,64}Duration that each extension will ring, in seconds.
20Ring strategy:
Can be either:
RING_SIMULTANEOUSLY: Ring all available members of the group simultaneously.PRIORITIZED_HUNT: Ring each available member of the group serially in the configured order.CYCLIC_HUNT: Ring each available member of the group serially, ring the member that hasn't been rung from a call from this group in the longest amount of time first.LEAST_WORKED_HUNT: Ring each available member of the group serially, ring the member that hasn't answered a call from this group in the longest amount of time first.PAGING_INTERCOM: Ring all available members of the group simultaneously and add an auto answer indication to the calls in order to invoke a page.SKILL_BASED_ROUTING_PRIORITIZED_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially in the configured order.SKILL_BASED_ROUTING_CYCLIC_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially, ring the member that hasn't been rung from a call from this group in the longest amount of time first.SKILL_BASED_ROUTING_LEAST_WORKED_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially, ring the member that hasn't answered a call from this group in the longest amount of time first.
Indicates if members on call would be skipped.
Whether to add ring group information into P-Asserted-Identity header.
falseWhether to add ring group information into Remote-Party-ID header.
falseWhether to enable night mode.
falseWhether to user extension number as invite To header.
falseWhether to enable audio recording.
falseCreated ring group
NzAwNTUxOTA5NzczMTQ4MTYwError
POST /api/ring_groups HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 457
{
"name": "example",
"extension_number": "101",
"ring_time": 20,
"ring_strategy": "RING_SIMULTANEOUSLY",
"skip_busy_member": true,
"enable_paid": true,
"enable_prid": true,
"enable_night_mode": true,
"extension_number_as_to_header": false,
"no_answer_forward_rule": {
"action": "HANGUP"
},
"night_mode_forward_rule": {
"action": "HANGUP"
},
"outbound_caller_ids": [
{
"provider_id": "xxxxxx",
"caller_id": "1000",
"description": "example",
"display_name": "1000"
}
],
"enable_audio_recording": false
}{
"id": "xxxxxxxx"
}Retrieve ring group by ID.
NzAwNTUxOTA5NzczMTQ4MTYwOK
NzAwNTUxOTA5NzczMTQ4MTYwThe name of ring group.
The extension number.
[0-9]{3,64}Duration that each extension will ring, in seconds.
20Ring strategy:
Can be either:
RING_SIMULTANEOUSLY: Ring all available members of the group simultaneously.PRIORITIZED_HUNT: Ring each available member of the group serially in the configured order.CYCLIC_HUNT: Ring each available member of the group serially, ring the member that hasn't been rung from a call from this group in the longest amount of time first.LEAST_WORKED_HUNT: Ring each available member of the group serially, ring the member that hasn't answered a call from this group in the longest amount of time first.PAGING_INTERCOM: Ring all available members of the group simultaneously and add an auto answer indication to the calls in order to invoke a page.SKILL_BASED_ROUTING_PRIORITIZED_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially in the configured order.SKILL_BASED_ROUTING_CYCLIC_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially, ring the member that hasn't been rung from a call from this group in the longest amount of time first.SKILL_BASED_ROUTING_LEAST_WORKED_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially, ring the member that hasn't answered a call from this group in the longest amount of time first.
Indicates if members on call would be skipped.
Whether to add ring group information into P-Asserted-Identity header.
falseWhether to add ring group information into Remote-Party-ID header.
falseWhether to enable night mode.
falseWhether to user extension number as invite To header.
falseWhether to enable audio recording.
falseError
GET /api/ring_groups/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "xxxxxx",
"name": "example",
"extension_number": "101",
"ring_time": 20,
"ring_strategy": "RING_SIMULTANEOUSLY",
"skip_busy_member": true,
"enable_paid": true,
"enable_prid": true,
"enable_night_mode": true,
"extension_number_as_to_header": false,
"no_answer_forward_rule": {
"action": "HANGUP"
},
"night_mode_forward_rule": {
"action": "HANGUP"
},
"outbound_caller_ids": [
{
"provider_id": "xxxxxx",
"provider_name": "some trunk",
"provider_brand": "Generic",
"provider_did_numbers": "1000-2000",
"caller_id": "1000",
"description": "example",
"display_name": "1000"
}
],
"enable_audio_recording": false
}Update a ring group
NzAwNTUxOTA5NzczMTQ4MTYwThe name of ring group.
Duration that each extension will ring, in seconds.
20Ring strategy:
Can be either:
RING_SIMULTANEOUSLY: Ring all available members of the group simultaneously.PRIORITIZED_HUNT: Ring each available member of the group serially in the configured order.CYCLIC_HUNT: Ring each available member of the group serially, ring the member that hasn't been rung from a call from this group in the longest amount of time first.LEAST_WORKED_HUNT: Ring each available member of the group serially, ring the member that hasn't answered a call from this group in the longest amount of time first.PAGING_INTERCOM: Ring all available members of the group simultaneously and add an auto answer indication to the calls in order to invoke a page.SKILL_BASED_ROUTING_PRIORITIZED_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially in the configured order.SKILL_BASED_ROUTING_CYCLIC_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially, ring the member that hasn't been rung from a call from this group in the longest amount of time first.SKILL_BASED_ROUTING_LEAST_WORKED_HUNT: The call assign to the agents in the level "1" skill group first,
and move on to the less experienced agents in subsequent skill groups, if the call is not answered in current skill group.
Ring each available member of the group serially, ring the member that hasn't answered a call from this group in the longest amount of time first.
Indicates if members on call would be skipped.
Whether to add ring group information into P-Asserted-Identity header.
falseWhether to add ring group information into Remote-Party-ID header.
falseWhether to enable night mode.
falseWhether to user extension number as invite To header.
falseWhether to enable audio recording.
falseOK
No content
Error
POST /api/ring_groups/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 432
{
"name": "example",
"ring_time": 20,
"ring_strategy": "RING_SIMULTANEOUSLY",
"skip_busy_member": true,
"enable_paid": true,
"enable_prid": true,
"enable_night_mode": true,
"extension_number_as_to_header": false,
"no_answer_forward_rule": {
"action": "HANGUP"
},
"night_mode_forward_rule": {
"action": "HANGUP"
},
"outbound_caller_ids": [
{
"provider_id": "xxxxxx",
"caller_id": "1000",
"description": "example",
"display_name": "1000"
}
],
"enable_audio_recording": false
}No content
Retrieve a collection of ring group agents.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/ring_groups/{id}/agents HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"extension_number": "101",
"display_name": "example",
"skill_level": 1
}
]
}Update ring group member list.
NzAwNTUxOTA5NzczMTQ4MTYwOK
No content
Error
POST /api/ring_groups/{id}/agents HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"items": [
{
"extension_number": "101",
"skill_level": 1
}
]
}No content
Retrieve information of ring group agent.
NzAwNTUxOTA5NzczMTQ4MTYwThe extension number.
[0-9]{3,64}OK
The extension number.
[0-9]{3,64}The display name of user.
The skill level of agent in ring group.
Only valid when ring_strategy is skill based.
1Error
GET /api/ring_groups/{id}/agents/{agent_number} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"extension_number": "101",
"display_name": "example",
"skill_level": 1
}Destroy a ring group
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Invalid ring group ID supplied.
POST /api/ring_groups/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?