List of channel zones with their countries
A list of channel zones
Array of objects (Channel zone object) | |
object (PaginationMeta) |
{- "data": [
- {
- "channels": 7,
- "countries": [
- "BE",
- "EL",
- "LT",
- "PT",
- "BG",
- "ES",
- "LU",
- "RO",
- "CZ",
- "FR",
- "HU",
- "SI",
- "DK",
- "HR",
- "MT",
- "SK",
- "DE",
- "IT",
- "NL",
- "FI",
- "EE",
- "CY",
- "AT",
- "SE",
- "IE",
- "LV",
- "PL"
], - "created_at": "2019-01-23T18:10:02.574Z",
- "id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
- "name": "Euro channel zone",
- "record_type": "channel_zone",
- "updated_at": "2019-01-23T18:10:02.574Z"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
Get a specific channel zone
Requested channel zone
{- "channels": 7,
- "countries": [
- "BE",
- "EL",
- "LT",
- "PT",
- "BG",
- "ES",
- "LU",
- "RO",
- "CZ",
- "FR",
- "HU",
- "SI",
- "DK",
- "HR",
- "MT",
- "SK",
- "DE",
- "IT",
- "NL",
- "FI",
- "EE",
- "CY",
- "AT",
- "SE",
- "IE",
- "LV",
- "PL"
], - "created_at": "2019-01-23T18:10:02.574Z",
- "id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
- "name": "Euro channel zone",
- "record_type": "channel_zone",
- "updated_at": "2019-01-23T18:10:02.574Z"
}
Change the amount of reserved channels at a given channel zone
Successfuly patched channel zone
{- "channels": 0
}
{- "channels": 7,
- "countries": [
- "BE",
- "EL",
- "LT",
- "PT",
- "BG",
- "ES",
- "LU",
- "RO",
- "CZ",
- "FR",
- "HU",
- "SI",
- "DK",
- "HR",
- "MT",
- "SK",
- "DE",
- "IT",
- "NL",
- "FI",
- "EE",
- "CY",
- "AT",
- "SE",
- "IE",
- "LV",
- "PL"
], - "created_at": "2019-01-23T18:10:02.574Z",
- "id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
- "name": "Euro channel zone",
- "record_type": "channel_zone",
- "updated_at": "2019-01-23T18:10:02.574Z"
}
Retrieve the assigned phone numbers in a channel zone. Phone numbers assigned to a channel zone can receive concurrent calls up to the quantity reserved in that channel zone. Additional concurrent calls are rejected with a busy signal.
A list of phone numbers
Array of objects (Phone Number object) | |
object (PaginationMeta) |
{- "data": [
- {
- "channel_zone_id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
- "created_at": "2019-01-23T18:10:02.574Z",
- "id": "3da3c749-bb7d-4ad6-acae-ca0d415ae08b",
- "phone_number": "+15554441234",
- "record_type": "channel_zone_phone_number"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
You should own the phone number being assigned to the channel zone. Remember that you should reserve channels in this channel zone, otherwise you won't be able to receive incoming calls.
A new inserted phone number
{- "phone_number": "+15554441234"
}
{- "channel_zone_id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
- "created_at": "2019-01-23T18:10:02.574Z",
- "id": "3da3c749-bb7d-4ad6-acae-ca0d415ae08b",
- "phone_number": "+15554441234",
- "record_type": "channel_zone_phone_number"
}
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "/json/pointer"
}, - "title": "string"
}
]
}